mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-14 23:12:31 +00:00
6b49b6b129
This makes the defaults of Inset::inheritFont() and Inset::resetFontEdit() compatible. There is no user visible change except for the Chunk inset which does not produce invalid LaTeX after editing operations anymore. This is the safe version for 2.1.0, for later there are still open questions: - All insets with ResetsFont true should be audited: Is this really needed, or do they show similar editing problems as the Chunk inset? - Does inheritFont() need to be customizable in the layout file as well? - Is resetFontEdit() != !inheritFont() needed at all? I did not use change tracking for the docs, since I updated all existing translations.
180 lines
3.7 KiB
HTML
180 lines
3.7 KiB
HTML
# Textclass definition file for docbook.
|
|
# Author : José Abílio Oliveira Matos <jamatos@lyx.org>
|
|
# Character Styles definition
|
|
|
|
Format 49
|
|
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
|