unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: David Kastrup <David.Kastrup@t-online.de>
Subject: Re: Problem with Reftex - solved
Date: 16 Dec 2002 14:15:56 +0100	[thread overview]
Message-ID: <x565tut88j.fsf@lola.goethe.zz> (raw)
In-Reply-To: 3dfdcda3$0$47422$edfadb0f@dtext01.news.tele.dk

"Jens-Peter Vraa Jensen" <no@no.no> 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

  reply	other threads:[~2002-12-16 13:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-16 12:14 Problem with Reftex Jens-Peter Vraa Jensen
2002-12-16 12:20 ` David Kastrup
2002-12-16 12:43   ` Jens-Peter Vraa Jensen
2002-12-16 12:47     ` Jens-Peter Vraa Jensen
2002-12-16 12:57     ` Problem with Reftex - solved Jens-Peter Vraa Jensen
2002-12-16 13:15       ` David Kastrup [this message]
2002-12-16 13:56       ` Kester Clegg

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=x565tut88j.fsf@lola.goethe.zz \
    --to=david.kastrup@t-online.de \
    /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).