unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: spinner <michaelcrain@hotmail.com>
To: Help-gnu-emacs@gnu.org
Subject: Re: Key binding? in Auctex (LaTex-mode)
Date: Tue, 23 Aug 2011 07:25:39 -0700 (PDT)	[thread overview]
Message-ID: <32319365.post@talk.nabble.com> (raw)
In-Reply-To: <87r54cjo5c.fsf@gmail.com>


This makes sense now. Many thanks for explaining things.


Morten Leander Petersen wrote:
> 
> 
> Imagine the following scenario. Say you have 3 files,
> 
> something.tex
> b.tex
> c.tex
> 
> Where something.tex is your main file, i.e. you have statements like
> 
> \include{b.tex}
> \include{c.tex}
> 
> inside something.tex. Now say you are working on b.tex and you want to
> compile your code. What you really want is to compile something.tex
> since this is your main file. So by inserting
> 
> %%% Local Variables:
> %%% TeX-master: "something"
> %%% End:
> 
> into b.tex, you tell the system to compile something.tex, even though
> you are currently working on b.tex. Insert the same 3 lines into c.tex
> (using C-c _) and you can now compile your code no matter what file you
> are currently working on.
> 
> With regards to
> 
> %%% TeX-master: t
> 
> versus
> 
> %%% TeX-master: "master"
> 
> the first line says that when you hit "compile" (C-c C-c) then it should
> compile the current file whereas the second one says that it should
> compile the file named "master.tex".
> 
> Hope this clarifies things a little bit :)
> 
> Regards
> -- 
> /Morten
> 
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/Key-binding--in-Auctex-%28LaTex-mode%29-tp32315986p32319365.html
Sent from the Emacs - Help mailing list archive at Nabble.com.




      reply	other threads:[~2011-08-23 14:25 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-23  3:17 Key binding? in Auctex (LaTex-mode) spinner
2011-08-23  5:38 ` Andreas Röhler
2011-08-23  6:19 ` Eric Abrahamsen
2011-08-23 10:35   ` spinner
2011-08-23  6:55 ` Morten Leander Petersen
2011-08-23 10:35   ` spinner
2011-08-23 10:58     ` Morten Leander Petersen
2011-08-23 11:54       ` spinner
2011-08-23 12:41         ` Morten Leander Petersen
2011-08-23 14:25           ` spinner [this message]

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=32319365.post@talk.nabble.com \
    --to=michaelcrain@hotmail.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).