From: Justin <jdbrody@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Stupid AUCTeX Master File Question
Date: Mon, 12 May 2008 07:22:02 -0700 (PDT) [thread overview]
Message-ID: <d93cc17e-5b67-4322-92d4-fcff51d8eb68@m44g2000hsc.googlegroups.com> (raw)
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
next reply other threads:[~2008-05-12 14:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-12 14:22 Justin [this message]
2008-05-12 15:31 ` Stupid AUCTeX Master File Question David Kastrup
2008-05-12 15:45 ` Justin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d93cc17e-5b67-4322-92d4-fcff51d8eb68@m44g2000hsc.googlegroups.com \
--to=jdbrody@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).