auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX] Newbie questions regarding ConTeXt support.


From: Aditya Mahajan
Subject: [AUCTeX] Newbie questions regarding ConTeXt support.
Date: Mon, 10 Mar 2008 15:09:15 -0400 (EDT)
User-agent: Alpine 1.00 (DEB 882 2007-12-20)

Hi,

I am trying emacs + auctex for editing ConTeXt files for the first time, so I may be wrong in my terminology. I have a few questions:

1. If I open a context file which says

\section {A section title}

then emacs makes the font for the title bigger and colored. However, ConTeXt has another way for entering sections

\section A section title

That is, the section title is until a \par is encountered (or an implicit \par in the form of an empty line). Currently, emacs does not highlight this.

Is this a bug with auctex, or should I report to some other place?

2. I noticed that in inline math (things between $...$), if I have X_t, then the 't' is displayed in the subscript. I like this feature. However, the same does not happen in display math (things between \startformula ... \stopformula). Is there a configuration option for this?

3. How do I enable reftex with ConTeXt? I could not find the instructions in the reftex manual. (I installed emacs+auctex in ubuntu using apt-get).

4. What I really like about auctex is the functionality of preview-latex. What is needed to support preview-latex for ConTeXt?

The last one is pertaining to emacs rather than auctex, but I am sure that people here will be able to help.

5. I mainly use vim for editing tex files, prefer to input math as utf-8 characters (vim does not have anything equivalent to preview-latex, so this forms a poor man's preview). However, when I open any file with utf-8 math in emacs, I get an sqare box. How can I get emacs to display utf-8 characters correctly.

Thanks,
Aditya

PS: This is the info that auctex->file bug report generated

Emacs  : GNU Emacs 22.1.1 (x86_64-pc-linux-gnu, GTK+ Version 2.12.7)
 of 2008-02-08 on crested, modified by Ubuntu
Package: 11.83

current state:
==============
(setq
 AUCTeX-date "2006-06-07"
 window-system 'x
 LaTeX-version "2e"
TeX-style-path '("style" "auto" "/usr/share/emacs/22.1/site-lisp/auctex/style" "/var/lib/auctex/emacs22")
 TeX-auto-save nil
 TeX-parse-self nil
 TeX-master t
TeX-command-list '(("TeX" "%(PDF)%(tex) %S%(PDFout) \"%(mode)\\input %t\"" TeX-run-TeX nil (plain-tex-mode ams-tex-mode texinfo-mode) :help "Run plain TeX") ("LaTeX" "%l \"%(mode)\\input{%t}\"" TeX-run-TeX nil (latex-mode doctex-mode) :help "Run LaTeX") ("Makeinfo" "makeinfo %t" TeX-run-compile nil (texinfo-mode) :help "Run Makeinfo with Info output") ("Makeinfo HTML" "makeinfo --html %t" TeX-run-compile nil (texinfo-mode) :help "Run Makeinfo with HTML output") ("AmSTeX" "%(PDF)amstex %S%(PDFout) \"%(mode)\\input %t\"" TeX-run-TeX nil (ams-tex-mode) :help "Run AMSTeX") ("ConTeXt" "texexec --once --texutil %(execopts)%t" TeX-run-TeX nil (context-mode) :help "Run ConTeXt once") ("ConTeXt Full" "texexec %(execopts)%t" TeX-run-TeX nil (context-mode) :help "Run ConTeXt until completion") ("BibTeX" "bibtex %s" TeX-run-BibTeX nil t :help "Run BibTeX") ("View" "%V" TeX-run-discard t t :help "Run Viewer") ("Print" "%p" TeX-run-command t t :help "Print the file") ("Queue" "%q" TeX-run-background nil t :help "View the printer queue" :visible TeX-queue-command) ("File" "%(o?)dvips %d -o %f " TeX-run-command t t :help "Generate PostScript file") ("Index" "makeindex %s" TeX-run-command nil t :help "Create index file") ("Check" "lacheck %s" TeX-run-compile nil (latex-mode) :help "Check LaTeX file for correctness") ("Spell" "(TeX-ispell-document \"\")" TeX-run-function nil t :help "Spell-check the document") ("Clean" "TeX-clean" TeX-run-function nil t :help "Delete generated intermediate files") ("Clean All" "(TeX-clean t)" TeX-run-function nil t :help "Delete generated intermediate and output files") ("Other" "" TeX-run-command t t :help "Run an arbitrary command"))
 )





reply via email to

[Prev in Thread] Current Thread [Next in Thread]