mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
5c54557350
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.
40 lines
924 B
HTML
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
|