auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX] Re: PDFeTeX-mode oder LaTeX-mode


From: Pierre Courtieu
Subject: [AUCTeX] Re: PDFeTeX-mode oder LaTeX-mode
Date: Wed, 17 May 2006 07:46:38 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Bernhard Kleine <bbfk <at> gmx.net> writes:

> 
> Hallo,
> 
> using C-c C-t C-p I can toggle the PDFmode. I am asking how to
> preset PDFmode as default a whole project. Writing to different textes
> with \inputting several other text, one project (and all the texts
> included) starts always in PDFmode, the other in latex mode. I wonder
> which keys have been pressed to establish PDFmode as default for a whole
> project since I do not know how enable this feature and do not recall to
> have set anything related to that.
> 
> Bernhard
> 

You can set the TeX-global-PDF-mode variable to t in your init file:

(setq TeX-global-PDF-mode t)

If you want more control, put this at the end of your .tex files which you want
to pdflatex:

%%% Local Variables: ***
%%% mode: latex ***
%%% TeX-PDF-mode: t ***
%%% End: ***


If you already have something like %%% Local Variables: at the end of your file,
just add the line TeX-PDF-mode: t between Local Variables: and End:, using the
same prefix and suffix.

See emacs manual section emacs / file variables







reply via email to

[Prev in Thread] Current Thread [Next in Thread]