mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +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.
94 lines
2.3 KiB
HTML
94 lines
2.3 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
|
|
Margin Static
|
|
LatexName bridgehead
|
|
LatexType Paragraph
|
|
InnerTag "!-- --"
|
|
LabelType No_Label
|
|
LatexParam renderas="part"
|
|
End
|
|
|
|
|
|
Style Chapter*
|
|
CopyStyle Chapter
|
|
Margin Static
|
|
LatexType Paragraph
|
|
InnerTag "!-- --"
|
|
LatexName bridgehead
|
|
LabelType No_Label
|
|
ResetArgs 1
|
|
LatexParam renderas="chapter"
|
|
End
|
|
|
|
|
|
Style Section*
|
|
CopyStyle Section
|
|
Margin Static
|
|
LatexName bridgehead
|
|
LatexType Paragraph
|
|
InnerTag "!-- --"
|
|
LabelType No_Label
|
|
ResetArgs 1
|
|
LatexParam renderas="sect1"
|
|
End
|
|
|
|
|
|
Style Subsection*
|
|
CopyStyle Subsection
|
|
Margin Static
|
|
LatexName bridgehead
|
|
LatexType Paragraph
|
|
InnerTag "!-- --"
|
|
LabelType No_Label
|
|
ResetArgs 1
|
|
LatexParam renderas="sect2"
|
|
End
|
|
|
|
|
|
Style Subsubsection*
|
|
CopyStyle Subsubsection
|
|
Margin Static
|
|
LatexName bridgehead
|
|
LatexType Paragraph
|
|
InnerTag "!-- --"
|
|
LabelType No_Label
|
|
ResetArgs 1
|
|
LatexParam renderas="sect3"
|
|
End
|
|
|
|
|
|
Style Paragraph*
|
|
CopyStyle Paragraph
|
|
Margin Static
|
|
LatexName bridgehead
|
|
LatexType Paragraph
|
|
InnerTag "!-- --"
|
|
LabelType No_Label
|
|
ResetArgs 1
|
|
LatexParam renderas="sect4"
|
|
End
|
|
|
|
|
|
Style Subparagraph*
|
|
CopyStyle Subparagraph
|
|
Margin Static
|
|
LatexName bridgehead
|
|
LatexType Paragraph
|
|
InnerTag "!-- --"
|
|
LabelType No_Label
|
|
ResetArgs 1
|
|
LatexParam renderas="sect5"
|
|
End
|