lyx_mirror/lib/layouts/numrevtex.inc
Jean-Marc Lasgouttes 5c54557350 Honor trailing spaces in LabelString and friends
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.
2017-08-31 13:59:37 +02:00

40 lines
924 B
HTML

# Author : André Pönitz
# This include files contains label definitions for a article-like numbering.
Format 64
Style Section
LabelType Static
LabelCounter section
LabelString "\Roman{section}."
LabelStringAppendix "Appendix \Alph{section}:"
TocLevel 1
End
Style Subsection
LabelType Static
LabelCounter subsection
LabelString "\Alph{subsection}."
LabelStringAppendix "\arabic{subsection}."
TocLevel 2
End
Style Subsubsection
LabelType Static
LabelCounter subsubsection
LabelString "\arabic{subsubsection}."
LabelStringAppendix "\alph{subsubsection}."
TocLevel 3
End
Style Paragraph
LabelType Static
LabelCounter paragraph
LabelString "\alph{paragraph}."
LabelStringAppendix "\alph{paragraph}."
TocLevel 4
End