François Patte <[email protected]> writes: > Le 24/05/2016 12:04, Arash Esbati a écrit : >> The following message is a courtesy copy of an article that has been >> posted to gmane.emacs.auctex.general as well. >> >> François Patte <[email protected]> writes: >> >>> I reinstall the stuff from elpa and it works *but* I lost the >>> automatic addition of local variables at the end of a new file >>> like: >>> >>> %%% Local Variables: %%% mode: latex %%% TeX-master: >>> "journee_monde_indien-beamer" %%% End: >>> >>> 2- I don't know hout to enable the beamer mode with this new >>> version: adding (require 'beamer) is not working! >> >> Put the following lines into your init file, restart Emacs and see >> if that helps. >> >> (setq TeX-auto-save t) (setq TeX-parse-self t) (setq-default >> TeX-master nil) > > Thank you, but I have already this in the init file, and the beamer > style is not loaded.
My last guess would be to check the value of `TeX-style-path': ,----[ C-h v TeX-style-path RET ] | TeX-style-path is a variable defined in ‘tex.el’. | Its value is | [snipped] | | | Documentation: | List of directories to search for AUCTeX style files. | Per default the list is built from the values of the variables | ‘TeX-auto-global’, ‘TeX-style-global’, ‘TeX-auto-private’, | ‘TeX-style-private’, ‘TeX-auto-local’, and ‘TeX-style-local’. | | You can customize this variable. `---- Maybe somewhere you have customized a variable described and now it confuses AUCTeX. Also try hitting `C-c C-n' when you have your tex file open. ,----[ C-h k C-c C-n ] | C-c C-n runs the command TeX-normal-mode (found in LaTeX-mode-map), | which is an interactive compiled Lisp function in ‘tex.el’. | | It is bound to C-c C-n, C-c #, <menu-bar> <LaTeX> <Multifile/Parsing> | <Reset Buffer>. | | (TeX-normal-mode &optional ARG) | | Remove all information about this buffer, and apply the style hooks again. | Save buffer first including style information. | With optional argument ARG, also reload the style hooks. | `---- Best, Arash _______________________________________________ auctex mailing list [email protected] https://lists.gnu.org/mailman/listinfo/auctex
