mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-14 23:12:31 +00:00
6b49b6b129
This makes the defaults of Inset::inheritFont() and Inset::resetFontEdit() compatible. There is no user visible change except for the Chunk inset which does not produce invalid LaTeX after editing operations anymore. This is the safe version for 2.1.0, for later there are still open questions: - All insets with ResetsFont true should be audited: Is this really needed, or do they show similar editing problems as the Chunk inset? - Does inheritFont() need to be customizable in the layout file as well? - Is resetFontEdit() != !inheritFont() needed at all? I did not use change tracking for the docs, since I updated all existing translations.
250 lines
4.5 KiB
PHP
250 lines
4.5 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 49
|
|
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
|
|
Category MainText
|
|
Margin Static
|
|
LatexType Paragraph
|
|
LatexName p
|
|
ParIndent MM
|
|
ParSkip 0.4
|
|
Align Block
|
|
LabelType No_Label
|
|
LatexParam "id=<para#>"
|
|
End
|
|
|
|
|
|
InsetLayout Flex:Firstname
|
|
LyXType element
|
|
LabelString Firstname
|
|
LatexType Command
|
|
LatexName firstname
|
|
Font
|
|
Shape SmallCaps
|
|
EndFont
|
|
LabelFont
|
|
Shape Up
|
|
Color blue
|
|
EndFont
|
|
ResetsFont true
|
|
End
|
|
|
|
InsetLayout Flex:Fname
|
|
LyXType element
|
|
LabelString Fname
|
|
LatexType Command
|
|
LatexName fname
|
|
Font
|
|
Shape SmallCaps
|
|
EndFont
|
|
LabelFont
|
|
Shape Up
|
|
Color blue
|
|
EndFont
|
|
ResetsFont true
|
|
End
|
|
|
|
|
|
InsetLayout Flex:Surname
|
|
LyXType element
|
|
LabelString Surname
|
|
LatexType Command
|
|
LatexName surname
|
|
Font
|
|
Shape SmallCaps
|
|
EndFont
|
|
LabelFont
|
|
Shape Up
|
|
Color blue
|
|
EndFont
|
|
ResetsFont true
|
|
End
|
|
|
|
|
|
InsetLayout Flex:Filename
|
|
LyXType element
|
|
LabelString Filename
|
|
LatexType Command
|
|
LatexName filename
|
|
Font
|
|
Family Typewriter
|
|
EndFont
|
|
LabelFont
|
|
Family Roman
|
|
Color blue
|
|
EndFont
|
|
ResetsFont true
|
|
End
|
|
|
|
|
|
InsetLayout Flex:Literal
|
|
LyXType element
|
|
LabelString Literal
|
|
LatexType Command
|
|
LatexName literal
|
|
Font
|
|
Family Typewriter
|
|
EndFont
|
|
LabelFont
|
|
Family Roman
|
|
Color blue
|
|
EndFont
|
|
ResetsFont true
|
|
End
|
|
|
|
|
|
InsetLayout Flex:Emph
|
|
LyXType element
|
|
LabelString Emph
|
|
LatexType Command
|
|
LatexName emph
|
|
LatexParam "type=<italic>"
|
|
Font
|
|
Shape Italic
|
|
EndFont
|
|
LabelFont
|
|
Shape Up
|
|
Color blue
|
|
EndFont
|
|
ResetsFont true
|
|
End
|
|
|
|
|
|
InsetLayout Flex:Abbrev
|
|
LyXType element
|
|
LabelString Abbrev
|
|
LatexType Command
|
|
LatexName abbrev
|
|
LabelFont
|
|
Color blue
|
|
EndFont
|
|
ResetsFont true
|
|
End
|
|
|
|
|
|
InsetLayout Flex:Citation-number
|
|
LyXType element
|
|
LabelString Citation-number
|
|
LatexType Command
|
|
LatexName citation-number
|
|
LabelFont
|
|
Color blue
|
|
EndFont
|
|
ResetsFont true
|
|
End
|
|
|
|
|
|
InsetLayout Flex:Volume
|
|
LyXType element
|
|
LabelString Volume
|
|
LatexType Command
|
|
LatexName volume
|
|
LabelFont
|
|
Color blue
|
|
EndFont
|
|
ResetsFont true
|
|
End
|
|
|
|
|
|
InsetLayout Flex:Day
|
|
LyXType element
|
|
LabelString Day
|
|
LatexType Command
|
|
LatexName day
|
|
LabelFont
|
|
Color blue
|
|
EndFont
|
|
ResetsFont true
|
|
End
|
|
|
|
|
|
InsetLayout Flex:Month
|
|
LyXType element
|
|
LabelString Month
|
|
LatexType Command
|
|
LatexName month
|
|
LabelFont
|
|
Color blue
|
|
EndFont
|
|
ResetsFont true
|
|
End
|
|
|
|
|
|
InsetLayout Flex:Year
|
|
LyXType element
|
|
LabelString Year
|
|
LatexType Command
|
|
LatexName year
|
|
LabelFont
|
|
Color blue
|
|
EndFont
|
|
ResetsFont true
|
|
End
|
|
|
|
|
|
InsetLayout Flex:Issue-number
|
|
LyXType element
|
|
LabelString Issue-number
|
|
LatexType Command
|
|
LatexName issue-number
|
|
LabelFont
|
|
Color blue
|
|
EndFont
|
|
ResetsFont true
|
|
End
|
|
|
|
|
|
InsetLayout Flex:Issue-day
|
|
LyXType element
|
|
LabelString Issue-day
|
|
LatexType Command
|
|
LatexName issue-day
|
|
LabelFont
|
|
Color blue
|
|
EndFont
|
|
ResetsFont true
|
|
End
|
|
|
|
|
|
InsetLayout Flex:Issue-months
|
|
LyXType element
|
|
LabelString Issue-months
|
|
LatexType Command
|
|
LatexName issue-months
|
|
LabelFont
|
|
Color blue
|
|
EndFont
|
|
ResetsFont true
|
|
End
|
|
|
|
|
|
Input stdinsets.inc
|
|
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
|