mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-24 18:43:37 +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
172 lines
3.8 KiB
Plaintext
172 lines
3.8 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 6
|
|
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
|
|
LabelType No_Label
|
|
End
|
|
|
|
|
|
Style Quote
|
|
Margin Static
|
|
LatexType Environment
|
|
LatexName quote
|
|
ParIndent MM
|
|
ParSkip 0.4
|
|
Align 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
|
|
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
|
|
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
|
|
LabelType No_Label
|
|
FreeSpacing 1
|
|
PassThru 1
|
|
End
|