bug-auctex
[Top][All Lists]
Advanced

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

bug#19301: Style file for mathtools bug


From: Andrew Francis Swann
Subject: bug#19301: Style file for mathtools bug
Date: Sun, 7 Dec 2014 18:27:00 +0000

mathtools.el of 2011-02-13 has small typo in TeX-add-style-hook.  There we
have

(setq LaTeX-label-alist
         (append '(("lgathered"    . LaTeX-amsmath-label)
                   ("rgathered"   . LaTeX-amsmath-label)
                   ("multlined"    . LaTeX-amsmath-label)
                   LaTeX-label-alist))))

which has the last LaTeX-label-alist included in the quote.  It ought to be

(setq LaTeX-label-alist
         (append '(("lgathered"    . LaTeX-amsmath-label)
                   ("rgathered"   . LaTeX-amsmath-label)
                   ("multlined"    . LaTeX-amsmath-label))
                   LaTeX-label-alist)))


with one closing bracket moved from the last to the penultimate line.

One symptom of the miscoding is that addition of labels does not work as
expected.

Andrew Swann

-- 
Andrew Swann | Associate Professor | Tel +45 871 55767 | address@hidden
| http://home.imf.au.dk/swann/ | Department of Mathematics, Aarhus
University, Ny Munkegade 118, Bldg 1530, DK-8000 Aarhus C, Denmark | Dept
+45 871 50000 | Fax +45 8613 1769




reply via email to

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