auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] Insertion of braces in math mode for certain macros


From: Tassilo Horn
Subject: Re: [AUCTeX] Insertion of braces in math mode for certain macros
Date: Tue, 06 Nov 2012 19:03:40 +0100
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux)

Tassilo Horn <address@hidden> writes:

> However, it doesn't work automatically.  `TeX-active-styles' lists
> "amstext", so shouldn't that trigger loading of
> auctex/style/amstext.el?
>
> Hm, on further investigation, even when I eval
>
>   (load-file "~/Repos/el/auctex/style/amstex.el")
>
> using M-:, `TeX-style-hook-list' contains just an empty ("amstext")
> entry without hook function!  That entry has been there before, too.

Stupid me, of course I wanted to load amstext.el, not amstex.el.  When
loading that manually, the \text macro gets inserted with braces as it
should be.  So the problem is only that the style files don't get loaded
automatically.

Bye,
Tassilo




reply via email to

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