mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +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
204 lines
3.6 KiB
PHP
204 lines
3.6 KiB
PHP
# Textclass definition file for AGU-Article.
|
|
# Author : José Abílio Oliveira Matos <jamatos@lyx.org>
|
|
# Martin Vermeer <martin.vermeer@hut.fi>
|
|
|
|
# This file is the counterpart of stdclass.inc
|
|
# It is desirable, as far as possible, to have the same look and feel for
|
|
# related layouts in latex and docbook.
|
|
|
|
Format 4
|
|
OutputType docbook
|
|
|
|
Columns 1
|
|
Sides 1
|
|
SecNumDepth 3
|
|
TocDepth 3
|
|
DefaultStyle Standard
|
|
|
|
ClassOptions
|
|
Header "PUBLIC "-//AGU//DTD article American Geophysical Union DTD version 3.42//EN" "AGU-Article-3.42.dtd" "
|
|
End
|
|
|
|
Style Standard
|
|
Margin Static
|
|
LatexType Paragraph
|
|
LatexName p
|
|
ParIndent MM
|
|
ParSkip 0.4
|
|
Align Block
|
|
AlignPossible Block
|
|
LabelType No_Label
|
|
LatexParam "id=<para#>"
|
|
End
|
|
|
|
|
|
CharStyle Firstname
|
|
LatexType Command
|
|
LatexName firstname
|
|
Font
|
|
Shape SmallCaps
|
|
EndFont
|
|
LabelFont
|
|
Shape Up
|
|
Color blue
|
|
EndFont
|
|
End
|
|
|
|
CharStyle Fname
|
|
LatexType Command
|
|
LatexName fname
|
|
Font
|
|
Shape SmallCaps
|
|
EndFont
|
|
LabelFont
|
|
Shape Up
|
|
Color blue
|
|
EndFont
|
|
End
|
|
|
|
|
|
CharStyle Surname
|
|
LatexType Command
|
|
LatexName surname
|
|
Font
|
|
Shape SmallCaps
|
|
EndFont
|
|
LabelFont
|
|
Shape Up
|
|
Color blue
|
|
EndFont
|
|
End
|
|
|
|
|
|
CharStyle Filename
|
|
LatexType Command
|
|
LatexName filename
|
|
Font
|
|
Family Typewriter
|
|
EndFont
|
|
LabelFont
|
|
Family Roman
|
|
Color blue
|
|
EndFont
|
|
End
|
|
|
|
|
|
CharStyle Literal
|
|
LatexType Command
|
|
LatexName literal
|
|
Font
|
|
Family Typewriter
|
|
EndFont
|
|
LabelFont
|
|
Family Roman
|
|
Color blue
|
|
EndFont
|
|
End
|
|
|
|
|
|
CharStyle Emph
|
|
LatexType Command
|
|
LatexName emph
|
|
LatexParam "type=<italic>"
|
|
Font
|
|
Shape Italic
|
|
EndFont
|
|
LabelFont
|
|
Shape Up
|
|
Color blue
|
|
EndFont
|
|
End
|
|
|
|
|
|
CharStyle Abbrev
|
|
LatexType Command
|
|
LatexName abbrev
|
|
LabelFont
|
|
Color blue
|
|
EndFont
|
|
End
|
|
|
|
|
|
CharStyle Citation-number
|
|
LatexType Command
|
|
LatexName citation-number
|
|
LabelFont
|
|
Color blue
|
|
EndFont
|
|
End
|
|
|
|
|
|
CharStyle Volume
|
|
LatexType Command
|
|
LatexName volume
|
|
LabelFont
|
|
Color blue
|
|
EndFont
|
|
End
|
|
|
|
|
|
CharStyle Day
|
|
LatexType Command
|
|
LatexName day
|
|
LabelFont
|
|
Color blue
|
|
EndFont
|
|
End
|
|
|
|
|
|
CharStyle Month
|
|
LatexType Command
|
|
LatexName month
|
|
LabelFont
|
|
Color blue
|
|
EndFont
|
|
End
|
|
|
|
|
|
CharStyle Year
|
|
LatexType Command
|
|
LatexName year
|
|
LabelFont
|
|
Color blue
|
|
EndFont
|
|
End
|
|
|
|
|
|
CharStyle Issue-number
|
|
LatexType Command
|
|
LatexName issue-number
|
|
LabelFont
|
|
Color blue
|
|
EndFont
|
|
End
|
|
|
|
|
|
CharStyle Issue-day
|
|
LatexType Command
|
|
LatexName issue-day
|
|
LabelFont
|
|
Color blue
|
|
EndFont
|
|
End
|
|
|
|
|
|
CharStyle Issue-months
|
|
LatexType Command
|
|
LatexName issue-months
|
|
LabelFont
|
|
Color blue
|
|
EndFont
|
|
End
|
|
|
|
|
|
Input agu_stdlists.inc
|
|
Input agu_stdsections.inc
|
|
Input db_stdstarsections.inc
|
|
Input agu_stdtitle.inc
|
|
Input db_stdstruct.inc
|
|
Input db_lyxmacros.inc
|
|
Input db_stdlayouts.inc
|
|
Input stdcounters.inc
|
|
Input agu_stdcounters.inc
|
|
Input stdfloats.inc
|