mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 11:16:55 +00:00
04efe3c40a
* 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
94 lines
2.3 KiB
HTML
94 lines
2.3 KiB
HTML
# Standard textclass definition file. Taken from initial LyX source code
|
|
# Author : Matthias Ettrich <ettrich@informatik.uni-tuebingen.de>
|
|
# Transposed by Pascal André <andre@via.ecp.fr>
|
|
# Heavily modifed and enhanced by several developers.
|
|
|
|
# This include files contains all non numbered versions of the
|
|
# sectioning-related commands that are useful for article-like
|
|
# document classes, but not for letters. It should be Input after
|
|
# modifying the style of the regular sectioning layouts.
|
|
|
|
|
|
Format 4
|
|
Style Part*
|
|
CopyStyle Part
|
|
Margin Static
|
|
LatexName bridgehead
|
|
LatexType Paragraph
|
|
InnerTag "!-- --"
|
|
LabelType No_Label
|
|
LatexParam renderas="part"
|
|
End
|
|
|
|
|
|
Style Chapter*
|
|
CopyStyle Chapter
|
|
Margin Static
|
|
LatexType Paragraph
|
|
InnerTag "!-- --"
|
|
LatexName bridgehead
|
|
LabelType No_Label
|
|
OptionalArgs 0
|
|
LatexParam renderas="chapter"
|
|
End
|
|
|
|
|
|
Style Section*
|
|
CopyStyle Section
|
|
Margin Static
|
|
LatexName bridgehead
|
|
LatexType Paragraph
|
|
InnerTag "!-- --"
|
|
LabelType No_Label
|
|
OptionalArgs 0
|
|
LatexParam renderas="sect1"
|
|
End
|
|
|
|
|
|
Style Subsection*
|
|
CopyStyle Subsection
|
|
Margin Static
|
|
LatexName bridgehead
|
|
LatexType Paragraph
|
|
InnerTag "!-- --"
|
|
LabelType No_Label
|
|
OptionalArgs 0
|
|
LatexParam renderas="sect2"
|
|
End
|
|
|
|
|
|
Style Subsubsection*
|
|
CopyStyle Subsubsection
|
|
Margin Static
|
|
LatexName bridgehead
|
|
LatexType Paragraph
|
|
InnerTag "!-- --"
|
|
LabelType No_Label
|
|
OptionalArgs 0
|
|
LatexParam renderas="sect3"
|
|
End
|
|
|
|
|
|
Style Paragraph*
|
|
CopyStyle Paragraph
|
|
Margin Static
|
|
LatexName bridgehead
|
|
LatexType Paragraph
|
|
InnerTag "!-- --"
|
|
LabelType No_Label
|
|
OptionalArgs 0
|
|
LatexParam renderas="sect4"
|
|
End
|
|
|
|
|
|
Style Subparagraph*
|
|
CopyStyle Subparagraph
|
|
Margin Static
|
|
LatexName bridgehead
|
|
LatexType Paragraph
|
|
InnerTag "!-- --"
|
|
LabelType No_Label
|
|
OptionalArgs 0
|
|
LatexParam renderas="sect5"
|
|
End
|