mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-14 15:05:56 +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
67 lines
1.3 KiB
PHP
67 lines
1.3 KiB
PHP
# Textclass definition file for docbook.
|
|
# Author : José Abílio Oliveira Matos <jamatos@lyx.org>
|
|
# Modified by Martin Vermeer <martin.vermeer@hut.fi>
|
|
|
|
# This file is the counterpart of stdsections.inc
|
|
# It is desirable, as far as possible, to have the same look and feel for
|
|
# related layouts in latex and docbook.
|
|
|
|
Format 4
|
|
Input stdsections.inc
|
|
|
|
Style Part
|
|
LatexType Command
|
|
LatexName part
|
|
InnerTag "title"
|
|
CommandDepth 0
|
|
End
|
|
|
|
|
|
Style Chapter
|
|
LatexType Command
|
|
LatexName chapter
|
|
InnerTag "title"
|
|
CommandDepth 1
|
|
End
|
|
|
|
|
|
Style Section
|
|
LatexType Command
|
|
LatexName sect1
|
|
InnerTag "title"
|
|
CommandDepth 2
|
|
End
|
|
|
|
|
|
Style Subsection
|
|
LatexType Command
|
|
LatexName sect2
|
|
InnerTag "title"
|
|
CommandDepth 3
|
|
End
|
|
|
|
|
|
Style Subsubsection
|
|
LatexType Command
|
|
LatexName sect3
|
|
InnerTag "title"
|
|
CommandDepth 4
|
|
End
|
|
|
|
|
|
Style Paragraph
|
|
LatexType Command
|
|
LatexName sect4
|
|
InnerTag "title"
|
|
CommandDepth 5
|
|
End
|
|
|
|
|
|
Style Subparagraph
|
|
LatexType Command
|
|
LatexName sect5
|
|
InnerTag "title"
|
|
CommandDepth 6
|
|
End
|
|
|