lyx_mirror/lib/layouts/stdlayouts.inc
Jean-Marc Lasgouttes b92ceba9a1 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.

(cherry picked from commit 5c54557350)
2017-09-02 16:08:56 +02:00

103 lines
2.5 KiB
PHP

# 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,
# quotations and such.
Format 64
Style Quotation
Category MainText
Margin Static
LatexType Environment
LatexName quotation
NextNoIndent 1
ToggleIndent Always
LeftMargin MMM
RightMargin MMM
ParIndent MM
ParSkip 0
ItemSep 0
TopSep 0.5
BottomSep 0.5
ParSep 0
Align Block
AlignPossible Block, Left, Right, Center
HTMLTag blockquote
HTMLItem div
End
Style Quote
Category MainText
Margin Static
LatexType Environment
LatexName quote
NextNoIndent 1
ToggleIndent Never
LeftMargin MMM
RightMargin MMM
TopSep 0.5
ParSep 0.5
BottomSep 0.5
Align Block
AlignPossible Block, Left, Right, Center
LabelType No_Label
HTMLTag blockquote
HTMLItem div
End
Style Verse
# LaTeX type is first dynamic because of LaTeX implementation.
# In LyX this does not make sense.
Category MainText
LatexType Environment
LatexName verse
Margin First_Dynamic
NextNoIndent 1
LeftMargin MMMM
LabelIndent MMMM
ParSkip 0.4
TopSep 0.7
BottomSep 0.7
ParSep 0.5
Align Block
AlignPossible Block, Left
LabelType No_Label
HTMLTag blockquote
HTMLItem p
End
Style Verbatim
Category MainText
LatexType Environment
LatexName verbatim
NextNoIndent 1
ParbreakIsNewline 1
FreeSpacing 1
PassThru 1
KeepEmpty 1
NewLine 0
TopSep 0.7
BottomSep 0.7
Align Block
AlignPossible Block
LabelType No_Label
Font
Family Typewriter
EndFont
HTMLTag pre
HTMLItem p
End
Style Verbatim*
CopyStyle Verbatim
LatexName verbatim*
End