mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-14 15:05:56 +00:00
9e5eebc14c
* src/TextClass{cpp,h}: - implement Requires tag for class and InsetLayout. * src/Layout.{cpp,h}: - implement Requires tag for layouts. - increase layouts format to 6. * src/Paragraph.cpp: - request required features for paragraph layouts. * src/LaTeXFeatures.cpp: - add some packages needed by modules. - remove Preamble method for InsetLayout. This is now done in InsetFlex::validate. * src/BufferParams.cpp (validate): - request required features for the class. * src/insets/InsetLayout.h: - new member "requires". * src/insets/InsetFlex.{cpp,h}: - implement validate method and request required features and preamble snippets. * lib/layouts/*.{layout,module,inc}: - increase layouts format to 6. - use Requires tags in some modules (more can be done later). * lib/doc/Customization.lyx: - document Requires tag. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22414 a592a061-630c-0410-9148-cb99ea01b6c8
168 lines
3.6 KiB
HTML
168 lines
3.6 KiB
HTML
# Textclass definition file for docbook.
|
|
# Author : José Abílio Oliveira Matos <jamatos@lyx.org>
|
|
# Character Styles definition
|
|
|
|
Format 6
|
|
InsetLayout Element:Filename
|
|
LyXType element
|
|
LabelString Filename
|
|
LatexType Command
|
|
LatexName filename
|
|
Font
|
|
Family Typewriter
|
|
EndFont
|
|
LabelFont
|
|
Family Roman
|
|
Color blue
|
|
EndFont
|
|
End
|
|
|
|
InsetLayout Element:Directory
|
|
LyXType element
|
|
LabelString Directory
|
|
LatexType Command
|
|
LatexName filename
|
|
LatexParam "class=<directory>"
|
|
Font
|
|
Family Typewriter
|
|
EndFont
|
|
LabelFont
|
|
Family Roman
|
|
Color blue
|
|
EndFont
|
|
End
|
|
|
|
InsetLayout Element:Firstname
|
|
LyXType element
|
|
LabelString Firstname
|
|
LatexType Command
|
|
LatexName firstname
|
|
LabelFont
|
|
Shape Up
|
|
Color blue
|
|
EndFont
|
|
End
|
|
|
|
InsetLayout Element:Surname
|
|
LyXType element
|
|
LabelString Surname
|
|
LatexType Command
|
|
LatexName surname
|
|
LabelFont
|
|
Shape Up
|
|
Color blue
|
|
EndFont
|
|
End
|
|
|
|
InsetLayout Element:Literal
|
|
LyXType element
|
|
LabelString Literal
|
|
LatexType Command
|
|
LatexName literal
|
|
Font
|
|
Family Typewriter
|
|
EndFont
|
|
LabelFont
|
|
Family Roman
|
|
Color blue
|
|
EndFont
|
|
End
|
|
|
|
InsetLayout Element:Email
|
|
LyXType element
|
|
LabelString Email
|
|
LatexType Command
|
|
LatexName email
|
|
Font
|
|
Family Typewriter
|
|
EndFont
|
|
LabelFont
|
|
Family Roman
|
|
Color blue
|
|
EndFont
|
|
End
|
|
|
|
InsetLayout Element:KeyCombo
|
|
LyXType element
|
|
LabelString KeyCombo
|
|
LatexType Command
|
|
LatexName keycombo
|
|
Font
|
|
Family Typewriter
|
|
EndFont
|
|
LabelFont
|
|
Family Roman
|
|
Color blue
|
|
EndFont
|
|
End
|
|
|
|
InsetLayout Element:KeyCap
|
|
LyXType element
|
|
LabelString KeyCap
|
|
LatexType Command
|
|
LatexName keycap
|
|
Font
|
|
Family Typewriter
|
|
EndFont
|
|
LabelFont
|
|
Family Roman
|
|
Color blue
|
|
EndFont
|
|
End
|
|
|
|
InsetLayout Element:GuiMenu
|
|
LyXType element
|
|
LabelString GuiMenu
|
|
LatexType Command
|
|
LatexName guimenu
|
|
Font
|
|
Family Sans
|
|
EndFont
|
|
LabelFont
|
|
Family Roman
|
|
Color blue
|
|
EndFont
|
|
End
|
|
|
|
InsetLayout Element:GuiMenuItem
|
|
LyXType element
|
|
LabelString GuiMenuItem
|
|
LatexType Command
|
|
LatexName guimenuitem
|
|
Font
|
|
Family Sans
|
|
EndFont
|
|
LabelFont
|
|
Family Roman
|
|
Color blue
|
|
EndFont
|
|
End
|
|
|
|
InsetLayout Element:GuiButton
|
|
LyXType element
|
|
LabelString GuiButton
|
|
LatexType Command
|
|
LatexName guibutton
|
|
Font
|
|
Family Sans
|
|
EndFont
|
|
LabelFont
|
|
Family Roman
|
|
Color blue
|
|
EndFont
|
|
End
|
|
|
|
InsetLayout Element:MenuChoice
|
|
LyXType element
|
|
LabelString MenuChoice
|
|
LatexType Command
|
|
LatexName menuchoice
|
|
Font
|
|
Family Sans
|
|
EndFont
|
|
LabelFont
|
|
Family Roman
|
|
Color blue
|
|
EndFont
|
|
End
|