lyx_mirror/lib/layouts/stdstarsections.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

88 lines
1.6 KiB
HTML

# Standard textclass definition file. Taken from initial LyX source code
# Author : Matthias Ettrich <ettrich@informatik.uni-tuebingen.de>
# Transposed by Pascal André <andre@via.ecp.fr>
# Heavily modifed and enhanced by several developers.
# This include files contains all non numbered versions of the
# sectioning-related commands that are useful for article-like
# document classes, but not for letters. It should be Input after
# modifying the style of the regular sectioning layouts.
Format 64
Style Part*
CopyStyle Part
Category Unnumbered
Margin Static
LatexName part*
LabelType No_Label
LabelCounter ""
ResetArgs 1
End
Style Chapter*
CopyStyle Chapter
Category Unnumbered
Margin Static
LatexName chapter*
LabelType No_Label
LabelCounter ""
ResetArgs 1
End
Style Section*
CopyStyle Section
Category Unnumbered
Margin Static
LatexName section*
LabelType No_Label
LabelCounter ""
ResetArgs 1
End
Style Subsection*
CopyStyle Subsection
Category Unnumbered
Margin Static
LatexName subsection*
LabelType No_Label
LabelCounter ""
ResetArgs 1
End
Style Subsubsection*
CopyStyle Subsubsection
Category Unnumbered
Margin Static
LatexName subsubsection*
LabelType No_Label
LabelCounter ""
ResetArgs 1
End
Style Paragraph*
CopyStyle Paragraph
Category Unnumbered
Margin Static
LatexName paragraph*
LabelType No_Label
LabelCounter ""
ResetArgs 1
End
Style Subparagraph*
CopyStyle Subparagraph
Category Unnumbered
Margin Static
LatexName subparagraph*
LabelType No_Label
LabelCounter ""
ResetArgs 1
End