mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-29 05:01:49 +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
)
100 lines
2.4 KiB
HTML
100 lines
2.4 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 various standard environments for lists.
|
|
|
|
|
|
Format 64
|
|
|
|
Input stdlyxlist.inc
|
|
|
|
Style Itemize
|
|
Category List
|
|
Margin Static
|
|
LatexType Item_Environment
|
|
LatexName itemize
|
|
NextNoIndent 1
|
|
ToggleIndent Never
|
|
LeftMargin MMN
|
|
LabelSep xx
|
|
ItemSep 0.2
|
|
TopSep 0.7
|
|
BottomSep 0.7
|
|
ParSep 0.3
|
|
Align Block
|
|
AlignPossible Block, Left
|
|
LabelType Itemize
|
|
HTMLTag ul
|
|
HTMLItem li
|
|
HTMLLabel NONE
|
|
Argument item:1
|
|
LabelString "Custom Item|s"
|
|
Tooltip "A customized item string"
|
|
EndArgument
|
|
End
|
|
|
|
|
|
Style Enumerate
|
|
Category List
|
|
Margin Static
|
|
LatexType Item_Environment
|
|
LatexName enumerate
|
|
NextNoIndent 1
|
|
ToggleIndent Never
|
|
LeftMargin MMN
|
|
LabelSep xx
|
|
ParSkip 0.0
|
|
ItemSep 0.2
|
|
TopSep 0.7
|
|
BottomSep 0.7
|
|
ParSep 0.3
|
|
Align Block
|
|
AlignPossible Block, Left
|
|
LabelType Enumerate
|
|
LabelCounter "enum"
|
|
HTMLTag ol
|
|
HTMLItem li
|
|
HTMLLabel NONE
|
|
RefPrefix enu
|
|
Argument item:1
|
|
LabelString "Custom Item|s"
|
|
Tooltip "A customized item string"
|
|
EndArgument
|
|
End
|
|
|
|
Style Description
|
|
Category List
|
|
Margin First_Dynamic
|
|
LatexType Item_environment
|
|
LatexName description
|
|
NextNoIndent 1
|
|
LeftMargin MM
|
|
LabelSep xxx
|
|
ParSkip 0.4
|
|
ItemSep 0.2
|
|
TopSep 0.7
|
|
BottomSep 0.7
|
|
ParSep 0.3
|
|
Align Block
|
|
AlignPossible Block, Left
|
|
LabelType Manual
|
|
LabelFont
|
|
Series Bold
|
|
EndFont
|
|
HTMLTag dl
|
|
HTMLAttr class='description'
|
|
HTMLItem dd
|
|
HTMLLabel dt
|
|
HTMLLabelFirst 1
|
|
HTMLStyle
|
|
dl.description dt { font-weight: bold; }
|
|
EndHTMLStyle
|
|
End
|
|
|
|
|
|
Style List
|
|
Obsoletedby Labeling
|
|
End
|