[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] Re: How to get pdf mode turned on automatically for beamer
Re: [AUCTeX] Re: How to get pdf mode turned on automatically for beamer files
Sun, 21 Dec 2008 08:29:21 +0100
* Leo (2008-12-21) writes:
> On 2008-12-20 19:20 +0000, Ralf Angeli wrote:
>> In general the problem is that when a style is to be loaded by
>> `TeX-load-style', the variable `TeX-style-hook-list' is checked for the
>> presence of the style. So if `TeX-add-style-hook' is executed before
>> `TeX-load-style' is called the first time, the style is present and none
>> of the files for the style will be loaded.
> Another option can be to make TeX-style-hook-list customisable so that
> users can easily delete unwanted styles and add new ones.
It's an internal variable where stuff is added when it is required and
the stuff which is added is quite complicated. So it's both unsuitable
for customization and not something you want to expose to a user.
> I have never
> had to reboot Emacs except for AUCTeX, which is a bit annoying.
,----[ (info "(auctex)Parsing Files") ]
| -- Command: TeX-normal-mode ARG
| (`C-c C-n') Remove all information about this buffer, and apply the
| style hooks again. Save buffer first including style information.
| With optional argument, also reload the style hooks.