Joost Kremers <[email protected]> writes: >> Exactly as you've stated. latex+dvipdf is the default. For those >> documents where you want to use pdflatex instead, add an entry >> >> eval: (TeX-PDF-mode 1) >> >> to your master file's file variables section. > > Is that the recommended way?
Yes, at least that's how it's documented for emacs 23 and 24. ,----[ (info "(emacs)Specifying File Variables") ] | Do not use the `mode' keyword for minor modes. To enable or disable | a minor mode in a local variables list, use the `eval' keyword with a | Lisp expression that runs the mode command (*note Minor Modes::). For | example, the following local variables list enables Eldoc mode (*note | Lisp Doc::) by calling `eldoc-mode' with no argument (calling it with | an argument of 1 would do the same), and disables Font Lock mode (*note | Font Lock::) by calling `font-lock-mode' with an argument of -1. | | ;; Local Variables: | ;; eval: (eldoc-mode) | ;; eval: (font-lock-mode -1) | ;; End: `---- > I have > > %%% TeX-PDF-mode: t > > in the local variables section of my LaTeX files and that works fine. I think, that should also work fine because of (put 'TeX-PDF-mode 'safe-local-variable 'TeX-booleanp) in tex.el. Bye, Tassilo _______________________________________________ auctex mailing list [email protected] https://lists.gnu.org/mailman/listinfo/auctex
