mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 11:16:55 +00:00
b92ceba9a1
Remove the trimming operation on LabelString, LabelStringAppendix,
EndLabelString and LabelCounter. This trimming meant that quotes
strings were not preserved, which is wrong.
To preserve layouts, the Layout format has been updated to 64, so that
layout2layout can remove extra spaces on existing strings, which
ensures that behavior is unchanged for old layouts (courtesy of rgheck).
It is now possible to re-add spaces in label strings where it makes
sense.
Fixes bug #10723.
(cherry picked from commit 5c54557350
)
28 lines
911 B
Plaintext
28 lines
911 B
Plaintext
#\DeclareLyXModule{Theorems (AMS)}
|
|
#DescriptionBegin
|
|
#Defines theorem environments and the proof environment using the extended
|
|
#AMS machinery. Both numbered and unnumbered types are provided. By default,
|
|
#the theorems are numbered consecutively throughout the document. This can be
|
|
#changed by loading one of the 'Theorems (Numbered by ...)' modules.
|
|
#DescriptionEnd
|
|
#Excludes: theorems-std | theorems-starred
|
|
#Category: theorems
|
|
|
|
# Original Author : David L. Johnson <dlj0@lehigh.edu>
|
|
# Probably broken by Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
|
|
# modified and modularized by Emmanuel GUREGHIAN <gureghia@boston.bertin.fr>
|
|
# Tinkered with Sep. '07 by Paul Rubin <rubin@msu.edu>
|
|
# Modularized Jan 08 by Richard Heck <rgheck@comcast.net>
|
|
|
|
Format 64
|
|
|
|
Requires amsmath,amsthm
|
|
|
|
Counter theorem
|
|
End
|
|
|
|
Input theorems-order.inc
|
|
Input theorems-ams.inc
|
|
Input theorems-starred.inc
|
|
Input theorems-proof.inc
|