Ralf Angeli <angeli <at> caeruleus.net> writes:
> And there are `TeX-master' file variables pointing to the master file in
> all relevant files?
Thanks for pointing this out again. Yes, there where those variables defined.
But the relevant header file had "mode: plain-tex" defined and therefore an
el-file was not created in the auto folder. I changed this to "mode: latex" and
everything is working now.
Now the question arises, why AucTeX is doing this. I have set the master file,
the mode was set automatically.
See the faulty handled file below.
> > If it helps in any way, here is my complete .emacs file (sorry, comments are
> > partially in German):
> [...]
> > (load "preview-latex.el" nil t t)
>
> You load preview-latex, but it looks like you never load AUCTeX. Is it
> loaded in a site startup file?
No idea, I have only created this .emacs file. But when I open a tex-file,
AucTeX starts. Mostly, a menu entry LaTeX is created. In the mentioned case of
this header file only a TeX menu entry was shown.
What line should I add to force AucTex to be loaded?
-Mathias
Here's the header file that AucTeX recognizes as plain-tex:
\input{./header/header_document}
\usepackage{ifthen} %OS depending package loads
\newboolean{texlive}
%\setboolean{texlive}{true}
\setboolean{texlive}{false}
\input{./header/header_generalpackages}
\input{./header/header_layout}
\input{./header/header_graphics}
\input{./header/header_mathematics}
\input{./header/header_links}
\input{./header/header_literature}
\input{./header/header_glossary}
\input{./header/header_codelisting}
\input{./header/header_misc}
%%% Local Variables:
%%% mode: plain-tex
%%% TeX-master: "../antriebsdimensionierung"
%%% End:
_______________________________________________
auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex