lyx_mirror/lib/layouts/db_stdcharstyles.inc
Jean-Marc Lasgouttes 04efe3c40a New framework for declaring generic features in textclasses.
* src/LaTeXFeatures.C (mustProvide): new method; returns true when
	isRequired is true and the feature is not provided by the
	textclass. 
	(getPackages, getLyXSGMLEntities): use mustProvide when relevant.

	* src/bufferparams.C (getEngine):
	* src/buffer.C (validate): adapt to change below.

	* src/lyxtextclass.C (read): replace tags ProvidesNatbib,
	ProvidesMakeidx, ProvidesUrl and ProvidesAmsmath by a generic
	"Provides".
	(provides): take a string as argument.
	
	* lib/scripts/layout2layout.py (convert): convert "ProvidesXxx" tags
	to "Provides xxx".

	* lib/layouts/*: update to format 4.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17740 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-06 09:02:23 +00:00

144 lines
3.0 KiB
HTML

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