--- Begin Message ---
Subject: |
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
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#19301: Style file for mathtools bug |
Date: |
Mon, 8 Dec 2014 19:21:53 +0100 |
Hi Andrew,
2014-12-07 19:27 GMT+01:00 Andrew Francis Swann <address@hidden>:
> 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.
thanks for the report! The bug has been fixed with commit
8c6a5ae [Fix #19301] Fix closing bracket in style/mathtools.el.
Bye,
Mosè
--- End Message ---