[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX] Inserting {\cal A} instead of \mathcal{A}
From: |
Yevgeniy Makarov |
Subject: |
[AUCTeX] Inserting {\cal A} instead of \mathcal{A} |
Date: |
Thu, 06 Jul 2006 13:57:20 -0400 |
User-agent: |
Mozilla Thunderbird 1.0.8 (X11/20060508) |
Hello,
I am using AUCTeX to edit a chapter which is included in the main
document. The chapter file has the following comment in the end:
%%% Local Variables:
%%% mode: latex
%%% TeX-master: "main"
%%% End:
However, when I type `cA to insert \mathcal{A}, AUCTeX inserts {\cal A}.
I understand that this happens because it does not recognize that I am
using LaTeX2e. However, the first line in main.tex is
\documentclass[oneside]{report}. Still, when I look up TeX-active-styles
variable in the chapter buffer it says
TeX-active-styles's value is ("intro" "LATEX")
Local in buffer intro.tex; global value is nil
In the main file, TeX-active-styles contains "latex2e".
Thanks in advance for any help.
Emacs : GNU Emacs 21.4.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2005-09-28 on wink
Package: 11.83
current state:
==============
(setq
AUCTeX-date "2006-06-07"
window-system 'x
LaTeX-version "2e"
TeX-style-path '("style" "auto"
"/u/emakarov/research/my/bibliography/style"
"/u/emakarov/tex/inputs/style"
"/u/emakarov/research/my/bibliography/auto"
"/u/emakarov/tex/inputs/auto" "/u/emakarov/emacs/auctex/style"
"/u/emakarov/var/auctex")
TeX-auto-save t
TeX-parse-self t
TeX-master "main"
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 nil nil)
("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"))
)
- [AUCTeX] Inserting {\cal A} instead of \mathcal{A},
Yevgeniy Makarov <=