lyx_mirror/lib/layouts/manpage.layout
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

177 lines
3.9 KiB
Plaintext

#% Do not delete he line below; configure depends on this
# \DeclareLinuxDocClass[manpage]{LinuxDoc manpage (SGML)}
# LinuxDoc manpage textclass definition file.
# Author : José Matos <jamatos@novalis.fc.up.pt>
Format 4
Columns 1
Sides 1
PageStyle Plain
OutputType linuxdoc
DefaultStyle Standard
Input stdcounters.inc
Style Standard
Margin Static
LatexType Paragraph
LatexName p
ParIndent MM
ParSkip 0.4
Align Block
AlignPossible Block
LabelType No_Label
End
Style Quote
Margin Static
LatexType Environment
LatexName quote
ParIndent MM
ParSkip 0.4
Align Block
AlignPossible Block
LabelType No_Label
End
Style Section
Margin Dynamic
LatexType Command
LatexName sect1
NextNoIndent 1
LabelSep xxx
ParSkip 0.4
TopSep 0.9
BottomSep 0.5
ParSep 0.5
Align Block
AlignPossible Block, Left
LabelType Counter_Subsection
Font
Series Bold
Size Large
EndFont
LabelFont
Series Bold
Size Large
EndFont
End
Style Enumerate
Margin Static
LatexType Item_Environment
LatexName enum
NextNoIndent 1
LeftMargin MMN
LabelSep xx
ItemSep 0.2
TopSep 0.7
BottomSep 0.7
ParSep 0.3
Align Block
AlignPossible Block, Left
LabelType Enumerate
End
Style Itemize
Margin Static
LatexType Item_Environment
LatexName itemize
NextNoIndent 1
LeftMargin MMN
LabelSep xx
ItemSep 0.2
TopSep 0.7
BottomSep 0.7
ParSep 0.3
Align Block
AlignPossible Block, Left
LabelType Itemize
LabelString "*"
End
Style Description
Margin First_Dynamic
LatexType Item_environment
LatexName descrip
NextNoIndent 1
LeftMargin MM
LabelSep xxx
ParSkip 0.4
ItemSep 0.2
TopSep 0.7
BottomSep 0.7
ParSep 0.3
Align Block
AlignPossible Block, Left
LabelType Manual
LabelString "MM"
LabelFont
Series Bold
EndFont
End
Style Verbatim
Margin Static
LatexType environment
LatexName verb
NextNoIndent 1
LeftMargin MM
LabelSep xx
ItemSep 0.2
Topsep 0.7
BottomSep 0.7
ParSep 0.3
Align Block
AlignPossible Block
LabelType No_Label
Font
Family Typewriter
EndFont
LabelFont
Family Typewriter
EndFont
End
Style Code
Margin Static
LatexType Environment
LatexName code
NextNoIndent 1
LeftMargin MM
LabelSep xx
ItemSep 0.2
TopSep 0.7
BottomSep 0.7
ParSep 0.3
Align Block
AlignPossible Block
LabelType No_Label
FreeSpacing 1
End
Style SGML
Margin Static
LatexType Paragraph
LatexName "!-- --"
NewLine 0
ParIndent MM
ParSkip 0.4
ParSep 0.5
Align Left
AlignPossible Block
LabelType No_Label
FreeSpacing 1
PassThru 1
End