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

58 lines
1.4 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 is a base layout which is designed to be included from other
# ``standard'' layouts, like article and friends.
Format 64
Columns 1
Sides 1
SecNumDepth 2
TocDepth 2
DefaultStyle Standard
# This is just to show how to declare the default font.
# The defaults are exactly those shown here.
DefaultFont
Family Roman
Series Medium
Shape Up
Size Normal
Color None
EndFont
Style Standard
Category MainText
Margin Static
LatexType Paragraph
LatexName dummy
ParIndent MM
ParSkip 0.4
Align Block
AlignPossible Block, Left, Right, Center
LabelType No_Label
# FIXME This ought to be set dynamically.
HTMLStyle
div.standard {
margin-bottom: 2ex;
}
EndHTMLStyle
End
#Input stdcharstyles.inc
#Input stdcustom.inc
Input stdfloats.inc
Input stdcounters.inc
Input stdinsets.inc
Input stdlists.inc
Input stdsections.inc
Input stdstarsections.inc
Input stdtitle.inc
Input stdstruct.inc
Input lyxmacros.inc
Input stdlayouts.inc