unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* 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

* Re: Stupid AUCTeX Master File Question
  2008-05-12 14:22 Stupid AUCTeX Master File Question Justin
@ 2008-05-12 15:31 ` David Kastrup
  2008-05-12 15:45   ` Justin
  0 siblings, 1 reply; 3+ messages in thread
From: David Kastrup @ 2008-05-12 15:31 UTC (permalink / raw)
  To: help-gnu-emacs

Justin <jdbrody@gmail.com> writes:

> I've looked at the documentation but haven't been able to figure this
> out - any help appreciated.

Try the very first page of the AUCTeX manual.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Stupid AUCTeX Master File Question
  2008-05-12 15:31 ` David Kastrup
@ 2008-05-12 15:45   ` Justin
  0 siblings, 0 replies; 3+ messages in thread
From: Justin @ 2008-05-12 15:45 UTC (permalink / raw)
  To: help-gnu-emacs

O.k. - seems to be working now.  Thanks for the response, and for
maintaining the code!
It's quite a pleasure to use.

On May 12, 11:31 am, David Kastrup <d...@gnu.org> wrote:
> Justin <jdbr...@gmail.com> writes:
> > I've looked at the documentation but haven't been able to figure this
> > out - any help appreciated.
>
> Try the very first page of the AUCTeX manual.
>
> --
> David Kastrup, Kriemhildstr. 15, 44793 Bochum



^ 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

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).