[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX] GNU AUCTeX 11.89.4 released to ELPA

From: Arash Esbati
Subject: Re: [AUCTeX] GNU AUCTeX 11.89.4 released to ELPA
Date: Tue, 24 May 2016 14:18:58 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.94

François Patte <address@hidden> 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 <address@hidden> 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]