mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-08 20:32:49 +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
73 lines
1.7 KiB
HTML
73 lines
1.7 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 part*
|
|
LabelType No_Label
|
|
End
|
|
|
|
|
|
Style Chapter*
|
|
CopyStyle Chapter
|
|
Margin Static
|
|
LatexName chapter*
|
|
LabelType No_Label
|
|
OptionalArgs 0
|
|
End
|
|
|
|
|
|
Style Section*
|
|
CopyStyle Section
|
|
Margin Static
|
|
LatexName section*
|
|
LabelType No_Label
|
|
OptionalArgs 0
|
|
End
|
|
|
|
|
|
Style Subsection*
|
|
CopyStyle Subsection
|
|
Margin Static
|
|
LatexName subsection*
|
|
LabelType No_Label
|
|
OptionalArgs 0
|
|
End
|
|
|
|
|
|
Style Subsubsection*
|
|
CopyStyle Subsubsection
|
|
Margin Static
|
|
LatexName subsubsection*
|
|
LabelType No_Label
|
|
OptionalArgs 0
|
|
End
|
|
|
|
|
|
Style Paragraph*
|
|
CopyStyle Paragraph
|
|
Margin Static
|
|
LatexName paragraph*
|
|
LabelType No_Label
|
|
OptionalArgs 0
|
|
End
|
|
|
|
|
|
Style Subparagraph*
|
|
CopyStyle Subparagraph
|
|
Margin Static
|
|
LatexName subparagraph*
|
|
LabelType No_Label
|
|
OptionalArgs 0
|
|
End
|