lyx_mirror/lib/layouts/docbook-section.layout
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

24 lines
505 B
Plaintext

#% Do not delete the line below; configure depends on this
# \DeclareDocBookClass[section]{DocBook Section (SGML)}
# \DeclareCategory{Books (DocBook)}
# DocBook textclass definition file.
# Author : Jose' Matos <jamatos@lyx.org>
Format 64
Input db_stdclass.inc
Style Title
LatexType Command
LatexName "!-- --"
CommandDepth 3
End
# Exclude higher, or equal, sections:
NoStyle Part
NoCounter part
NoStyle Chapter
NoCounter chapter
NoStyle Section
NoCounter section