From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Justin Newsgroups: gmane.emacs.help Subject: Stupid AUCTeX Master File Question Date: Mon, 12 May 2008 07:22:02 -0700 (PDT) Organization: http://groups.google.com Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1210621965 14945 80.91.229.12 (12 May 2008 19:52:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 12 May 2008 19:52:45 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon May 12 21:53:22 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Jve57-0005rC-Fa for geh-help-gnu-emacs@m.gmane.org; Mon, 12 May 2008 21:53:09 +0200 Original-Received: from localhost ([127.0.0.1]:45698 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jve4O-0003Gp-PU for geh-help-gnu-emacs@m.gmane.org; Mon, 12 May 2008 15:52:24 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!m44g2000hsc.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 35 Original-NNTP-Posting-Host: 68.84.9.196 Original-X-Trace: posting.google.com 1210602122 30915 127.0.0.1 (12 May 2008 14:22:02 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Mon, 12 May 2008 14:22:02 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: m44g2000hsc.googlegroups.com; posting-host=68.84.9.196; posting-account=Em0-4woAAAAkEFGtKE-eEGmEeDNLjUTe User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.13) Gecko/20080402 SeaMonkey/1.1.9,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:158568 X-Mailman-Approved-At: Mon, 12 May 2008 15:52:05 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:53941 Archived-At: 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