* Stupid AUCTeX Master File Question
@ 2008-05-12 14:22 Justin
2008-05-12 15:31 ` David Kastrup
0 siblings, 1 reply; 3+ messages in thread
From: Justin @ 2008-05-12 14:22 UTC (permalink / raw)
To: help-gnu-emacs
I'm new to doing multifile input with LaTeX and seem to be having
trouble telling AUCTeX about the master file?
I've got a file called main.tex which includes some header commands,
particularly the following:
\newtheorem{thm}{Theorem}[section]
\newtheorem{cor}[thm]{Corollary}
\newtheorem{lem}[thm]{Lemma}
\newtheorem{claim}[thm]{Claim}
\newtheorem{notn}[thm]{Notation}
\newtheorem{prop}[thm]{Proposition}
\begin{document}
\include{going-up}
\end{document}
It's also got a "file variable" at the end:
%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End:
i want to use these theorem environments in "going-up.tex". When I
open it up, I tell it that main.tex is the master -file (there's a
file variable there too, but I've also used TeX-master-ask). But C-c
C-e doesn't pick up the theorem environments, even though it does in
main.tex.
I've looked at the documentation but haven't been able to figure this
out - any help appreciated.
Thanks,
Justin Brody
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-05-12 15:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-12 14:22 Stupid AUCTeX Master File Question Justin
2008-05-12 15:31 ` David Kastrup
2008-05-12 15:45 ` Justin
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.