From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.help Subject: Re: Problem with Reftex - solved Date: 16 Dec 2002 14:15:56 +0100 Organization: T-Online Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <3dfdc3a6$0$47399$edfadb0f@dtext01.news.tele.dk> <3dfdca62$0$47405$edfadb0f@dtext01.news.tele.dk> <3dfdcda3$0$47422$edfadb0f@dtext01.news.tele.dk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1040046494 20530 80.91.224.249 (16 Dec 2002 13:48:14 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 16 Dec 2002 13:48:14 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18NvbR-0005Kr-00 for ; Mon, 16 Dec 2002 14:48:13 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18NvW4-00083o-03 for gnu-help-gnu-emacs@m.gmane.org; Mon, 16 Dec 2002 08:42:40 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!peernews3.colt.net!newsfeed.stueberl.de!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 54 Original-X-Trace: news.t-online.com 1040044556 07 32646 Zcr1EG+XTSaeg7 021216 13:15:56 Original-X-Complaints-To: abuse@t-online.com X-Sender: 520018396234-0001@t-dialin.net X-Face: 2FEFf>]>q>2iw=B6,xrUubRI>pR&Ml9=ao@P@i)L:\urd*t9M~y1^:+Y]'C0~{mAl`oQuAl \!3KEIp?*w`|bL5qr,H)LFO6Q=qx~iH4DN;i"; /yuIsqbLLCh/!U#X[S~(5eZ41to5f%E@'ELIi$t^ Vc\LWP@J5p^rst0+('>Er0=^1{]M9!p?&:\z]|;&=NP3AhB!B_bi^]Pfkw User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Original-Xref: shelby.stanford.edu gnu.emacs.help:108168 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:4694 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:4694 "Jens-Peter Vraa Jensen" writes: > > > Is main.tex properly known as a master > > > document of your chapter to Emacs (that is, will its preamble and > > > stuff get used when you TeX the document from within your chapter's > > > buffer?). > > > > > I just asked a colleague about your last question, and after adding > %%% Local Variables: > > %%% mode: latex > > %%% TeX-master: "main" > > %%% End: > Thanks for pointing me in the right direction. > > Have a happy christmas - you just made mine a bit more comfortable! Much too complicated. AUCTeX will fill all that in for you by itself if you don't refuse reading its documentation (which is even available from the menus for the people that are not capable of starting info themselves). The AUCTeX manual _starts_ _off_ with AUC TeX ******* AUC TeX is an integrated environment for editing LaTeX and TeX files. This file documents AUC TeX version 11. Although AUC TeX contains a large number of features, there are no reasons to despair. You can continue to write TeX and LaTeX documents the way you are used to, and only start using the multiple features in small steps. AUC TeX is not monolithic, each feature described in this manual is useful by itself, but together they provide an environment where you will make very few LaTeX errors, and makes it easy to find the errors that may slip through anyway. If you want to make AUC TeX aware of style files and multi-file documents right away, insert the following in your `.emacs' file. (setq TeX-auto-save t) (setq TeX-parse-self t) (setq-default TeX-master nil) So there is _hardly_ an excuse for not enabling multi-file documents properly right from the start. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum