mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 02:14:50 +00:00
5c54557350
Remove the trimming operation on LabelString, LabelStringAppendix, EndLabelString and LabelCounter. This trimming meant that quotes strings were not preserved, which is wrong. To preserve layouts, the Layout format has been updated to 64, so that layout2layout can remove extra spaces on existing strings, which ensures that behavior is unchanged for old layouts (courtesy of rgheck). It is now possible to re-add spaces in label strings where it makes sense. Fixes bug #10723.
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 64
|
|
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
|