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

45 lines
1.0 KiB
PHP

# Textclass definition file for docbook.
# Author : José Abílio Oliveira Matos <jamatos@lyx.org>
# This file is the counterpart of stdclass.inc
# It is desirable, as far as possible, to have the same look and feel for
# related layouts in latex and docbook.
Format 64
OutputType docbook
Columns 1
Sides 1
SecNumDepth 3
TocDepth 3
DefaultStyle Standard
ClassOptions
# Header "PUBLIC &quot;-//OASIS//DTD DocBook V4.3//EN&quot;"
Other ".-"
End
Style Standard
Category MainText
Margin Static
LatexType Paragraph
LatexName para
ParIndent MM
ParSkip 0.4
Align Block
LabelType No_Label
End
Input stdinsets.inc
Input db_stdcharstyles.inc
Input db_stdlists.inc
Input db_stdsections.inc
Input db_stdstarsections.inc
Input db_stdtitle.inc
Input db_stdstruct.inc
Input db_lyxmacros.inc
Input db_stdlayouts.inc
Input stdcounters.inc
Input db_stdcounters.inc
Input stdfloats.inc