Am 18.02.2008 um 11:42 schrieb Colin:
> And I got the "Message" below.
It shows that AUCTeX is loaded, including preview. This is also shown
in the menu bar by the menus Preview and LaTeX.
Actually I don't remember what I did to make AUCTeX insert the local
variables block. It's certainly somewhere in the documentation. I
have additionally set in my init file:
(setq pdf-previewer-program "texdoc")
(setq ps-previewer-program "texdoc")
(setq dvi-previewer-program "texdoc")
(add-hook 'LaTeX-mode-hook 'turn-on-reftex) ; with AUCTeX LaTeX mode
(add-hook 'latex-mode-hook 'turn-on-reftex) ; with Emacs latex mode
(add-hook 'LaTeX-mode-hook (lambda () (TeX-fold-mode t)))
(setq-default TeX-master nil)
(setq-default auto-composition-mode nil)
The first three can't be responsible, the next three look pretty
innocent, the last line seems to be a relict from much earlier AUCTeX
versions – so it must be the TeX-master line ...
Can't you search for "local variable" in the AUCTeX documentation?
--
Greetings
Pete
Windows, c'est un peu comme le beaujolais nouveau: à chaque nouvelle
cuvée on sait que ce sera dégueulasse, mais on en prend quand même,
par masochisme.
--~--~---------~--~----~------------~-------~--~----~
Carbon Emacs User Group
http://groups.google.com/group/carbon-emacs?hl=en
-~----------~----~----~----~------~----~------~--~---