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





_______________________________________________
auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex

Reply via email to