auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] Re: labels in align env (amsmath style)


From: David Kastrup
Subject: Re: [AUCTeX] Re: labels in align env (amsmath style)
Date: Fri, 10 Nov 2006 15:10:11 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Seweryn Kokot <address@hidden> writes:

> David Kastrup <address@hidden> writes:
>
>>>  TeX-style-path '("style" "auto" "/var/lib/auctex/emacs-snapshot")
>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>
>> Well, here is the problem.  Your style path does not include the
>> hand-crafted styles that are part of AUCTeX.
>>
>> Now we need to find out why.
>
> locate amsmath gives: 
> /usr/share/emacs21/site-lisp/auctex/style/amsmath.elc
> /usr/share/emacs/site-lisp/auctex/style/amsmath.el
> /usr/share/emacs-snapshot/site-lisp/auctex/style/amsmath.elc
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
That's the one we would want here.

> /var/lib/auctex/emacs21/amsmath.elc
> /var/lib/auctex/emacs21/onlyamsmath.elc
> /var/lib/auctex/emacs-snapshot/amsmath.elc
> /var/lib/auctex/emacs-snapshot/onlyamsmath.elc
>
> dpkg -l auctex
> +++-==============-==============-============================================
> ii  auctex         11.83-2.1      An integrated environment for editing TeX an
>
>
> So it seems that amsmath style should be seen in
> /var/lib/auctex/emacs-snapshot/ directory.

But that is the autogenerated support file, not the hand-crafted one.
It provides just some environment and macro completion.  The
hand-crafted one is much superior.

> Should amsmath.el be in that directory too? By the way it's what
> apt-get install auctex did.

No, it is ok to keep the autogenerated stuff in the "/var"
directories.  The mistake is that the hand-created stuff needs to be
first in the search order, and your `TeX-style-path' variable is
incorrectly set by not including the default style support of AUCTeX.
If you did nothing to tamper with it, this would appear to be a Debian
problem.

If you say
M-x customize-variable RET TeX-style-path RET

is the "State" listed as "STANDARD" ?

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

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