auctex-devel
[Top][All Lists]
Advanced

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

Re: [AUCTeX-devel] «global.sty» include, master, subfiles


From: Mosè Giordano
Subject: Re: [AUCTeX-devel] «global.sty» include, master, subfiles
Date: Sun, 8 Mar 2015 19:44:06 +0100

2015-03-08 19:40 GMT+01:00 Uwe Brauer <address@hidden>:
>
>    > 2015-03-08 18:42 GMT+01:00 Uwe Brauer <address@hidden>:
>
>    > What's the value of `TeX-active-styles' in this buffer (without the
>    > explicit loading of amsmath)?
>
>
> Holy sh..:
>
> In Xemacs it is
> ,----
> | `TeX-active-styles' is a variable declared in Lisp.
> |   -- loaded from "tex"
> |
> | Value: ("teststy" "art10" "article" "latex2e" "test" "LATEX")
> |
> | This value is specific to the current buffer.
> |
> | Default-value: nil
> |
> | Documentation:
> | List of styles currently active in the document.
> `----
>
> But in GNU emacs it is
> ,----
> | TeX-active-styles is a variable defined in `tex.el'.
> | Its value is
> | ("graphicx" "graphics" "amsthm" "amsopn" "amsbsy" "amstext" "amsmath" 
> "amsfonts" "amssymb" "teststy" "art10" "article" "latex2e" "test" "LATEX")
> |
> | Local in buffer test.tex; global value is nil
> |
> |   Automatically becomes buffer-local when set.
> |
> | Documentation:
> | List of styles currently active in the document.
> `----
>
> As it should be! So this is a Xemacs fault. Finally I found a way to
> bring order into my style chaos and then Xemacs let me down.
>
> I know there is no Xemacs user, but some idea why the TeX-style-private
> stuff is is not using in Xemacs. A path is a path. Damn.

No, I don't have a clue right now and I don't think XEmacs is intended
to behave differently from Emacs in this regard.

>    > A TeXnical note: amssymb loads amsfonts, so it's useless to load both.
>
> Ah bad old habits I think, thanks for pointing it out.

The same applies to graphics and graphicx (the latter loads the former) ;-)

Bye,
Mosè



reply via email to

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