lyx_mirror/lib/layouts/db_stdcharstyles.inc
Jean-Marc Lasgouttes 5c54557350 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.
2017-08-31 13:59:37 +02:00

180 lines
3.7 KiB
HTML

# Textclass definition file for docbook.
# Author : José Abílio Oliveira Matos <jamatos@lyx.org>
# Character Styles definition
Format 64
InsetLayout Flex:Filename
LyXType element
LabelString Filename
LatexType Command
LatexName filename
Font
Family Typewriter
EndFont
LabelFont
Family Roman
Color blue
EndFont
ResetsFont true
End
InsetLayout Flex:Directory
LyXType element
LabelString Directory
LatexType Command
LatexName filename
LatexParam "class=<directory>"
Font
Family Typewriter
EndFont
LabelFont
Family Roman
Color blue
EndFont
ResetsFont true
End
InsetLayout Flex:Firstname
LyXType element
LabelString Firstname
LatexType Command
LatexName firstname
LabelFont
Shape Up
Color blue
EndFont
ResetsFont true
End
InsetLayout Flex:Surname
LyXType element
LabelString Surname
LatexType Command
LatexName surname
LabelFont
Shape Up
Color blue
EndFont
ResetsFont true
End
InsetLayout Flex:Literal
LyXType element
LabelString Literal
LatexType Command
LatexName literal
Font
Family Typewriter
EndFont
LabelFont
Family Roman
Color blue
EndFont
ResetsFont true
End
InsetLayout Flex:Email
LyXType element
LabelString Email
LatexType Command
LatexName email
Font
Family Typewriter
EndFont
LabelFont
Family Roman
Color blue
EndFont
ResetsFont true
End
InsetLayout Flex:KeyCombo
LyXType element
LabelString KeyCombo
LatexType Command
LatexName keycombo
Font
Family Typewriter
EndFont
LabelFont
Family Roman
Color blue
EndFont
ResetsFont true
End
InsetLayout Flex:KeyCap
LyXType element
LabelString KeyCap
LatexType Command
LatexName keycap
Font
Family Typewriter
EndFont
LabelFont
Family Roman
Color blue
EndFont
ResetsFont true
End
InsetLayout Flex:GuiMenu
LyXType element
LabelString GuiMenu
LatexType Command
LatexName guimenu
Font
Family Sans
EndFont
LabelFont
Family Roman
Color blue
EndFont
ResetsFont true
End
InsetLayout Flex:GuiMenuItem
LyXType element
LabelString GuiMenuItem
LatexType Command
LatexName guimenuitem
Font
Family Sans
EndFont
LabelFont
Family Roman
Color blue
EndFont
ResetsFont true
End
InsetLayout Flex:GuiButton
LyXType element
LabelString GuiButton
LatexType Command
LatexName guibutton
Font
Family Sans
EndFont
LabelFont
Family Roman
Color blue
EndFont
ResetsFont true
End
InsetLayout Flex:MenuChoice
LyXType element
LabelString MenuChoice
LatexType Command
LatexName menuchoice
Font
Family Sans
EndFont
LabelFont
Family Roman
Color blue
EndFont
ResetsFont true
End