Am Mittwoch, den 17.05.2006, 07:46 +0000 schrieb Pierre Courtieu: > 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
Thank you very much! This solutions is heartfully welcomed even after such a delay: Using a new directory for new beamerfiles I happened several times to get a faulty compilation since I forgot to load pdftex mode. Bernhard _______________________________________________ auctex mailing list [email protected] http://lists.gnu.org/mailman/listinfo/auctex
