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

34 lines
661 B
HTML

# Textclass definition file for docbook.
# Author : José Abílio Oliveira Matos <jamatos@lyx.org>
# This is the counterpart of stdlayouts.inc
# It is desirable, as far as possible, to have the same look and feel for
# related layouts in latex and docbook.
Format 64
Input stdlayouts.inc
Style Literal
LatexType Environment
LatexName literallayout
PassThru 1
ParbreakIsNewline 1
End
Style Quotation
LatexType Environment
LatexName blockquote
InnerTag para
End
# Quote should be an inline element
NoStyle Quote
NoStyle Verse
Style SGML
ObsoletedBy Standard
End