mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +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.
309 lines
4.8 KiB
Plaintext
309 lines
4.8 KiB
Plaintext
#% Do not delete he line below; configure depends on this
|
|
# \DeclareLaTeXClass[acmsiggraph,comment.sty,lineno.sty]{ACM SIGGRAPH (older than 0.91, obsolete)}
|
|
# \DeclareCategory{Obsolete}
|
|
# ACM SIGGRAPH acmsiggraph textclass definition file.
|
|
# Author : Uwe Stöhr
|
|
#
|
|
# We use acmsiggraph.cls, the Sigplan class file that can be
|
|
# downloaded from
|
|
# http://www.siggraph.org/publications/instructions
|
|
#
|
|
# ACM style files can be obtained at
|
|
# http://www.acm.org/sigs/pubs/proceed/template.html
|
|
|
|
Format 64
|
|
|
|
Columns 1
|
|
Sides 1
|
|
SecNumDepth 3
|
|
TocDepth 3
|
|
DefaultStyle Standard
|
|
|
|
ClassOptions
|
|
FontSize 9|10|11|12
|
|
End
|
|
|
|
DefaultFont
|
|
Family Roman
|
|
Series Medium
|
|
Shape Up
|
|
Size Normal
|
|
Color None
|
|
EndFont
|
|
|
|
|
|
Style Standard
|
|
Category MainText
|
|
Margin Static
|
|
LatexType Paragraph
|
|
LatexName dummy
|
|
ParIndent MM
|
|
ParSkip 0.4
|
|
Align Block
|
|
AlignPossible Block, Left, Right, Center
|
|
LabelType No_Label
|
|
End
|
|
|
|
|
|
Input stdcounters.inc
|
|
Input stdfloats.inc
|
|
Input stdlists.inc
|
|
Input stdsections.inc
|
|
Input stdstarsections.inc
|
|
|
|
# don't use the following styles
|
|
NoStyle Part
|
|
NoCounter part
|
|
NoStyle Part*
|
|
NoStyle Chapter
|
|
NoCounter chapter
|
|
NoStyle Chapter*
|
|
NoStyle Subparagraph
|
|
NoCounter subparagraph
|
|
NoStyle Subparagraph*
|
|
|
|
|
|
Style "TOG online ID"
|
|
Margin Dynamic
|
|
LatexType Command
|
|
LatexName TOGonlineid
|
|
Category FrontMatter
|
|
InPreamble 1
|
|
ParSkip 0.4
|
|
BottomSep 0.5
|
|
Align Left
|
|
LabelSep xx
|
|
LabelType Static
|
|
LabelString "Online ID:"
|
|
LabelFont
|
|
Color Green
|
|
Series Bold
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style "TOG volume"
|
|
CopyStyle "TOG online ID"
|
|
LatexName TOGvolume
|
|
LabelString "Volume number:"
|
|
End
|
|
|
|
|
|
Style "TOG number"
|
|
CopyStyle "TOG online ID"
|
|
LatexName TOGnumber
|
|
LabelString "Article number:"
|
|
End
|
|
|
|
|
|
Style "TOG article DOI"
|
|
CopyStyle "TOG online ID"
|
|
LatexName TOGarticleDOI
|
|
LabelString "Article DOI:"
|
|
End
|
|
|
|
|
|
Style "TOG project URL"
|
|
CopyStyle "TOG online ID"
|
|
LatexName TOGprojectURL
|
|
KeepEmpty 1
|
|
LabelString "Project URL:"
|
|
End
|
|
|
|
|
|
Style "TOG video URL"
|
|
CopyStyle "TOG project URL"
|
|
LatexName TOGvideoURL
|
|
LabelString "Video URL:"
|
|
End
|
|
|
|
|
|
Style "TOG data URL"
|
|
CopyStyle "TOG project URL"
|
|
LatexName TOGdataURL
|
|
LabelString "Data URL:"
|
|
End
|
|
|
|
|
|
Style "TOG code URL"
|
|
CopyStyle "TOG project URL"
|
|
LatexName TOGcodeURL
|
|
LabelString "Code URL:"
|
|
End
|
|
|
|
|
|
Input stdtitle.inc
|
|
Input stdstruct.inc
|
|
NoStyle Date
|
|
|
|
|
|
# modify the Title definition from stdtitle.inc
|
|
Style Title
|
|
InTitle 0
|
|
InPreamble 1
|
|
Font
|
|
Family Sans
|
|
EndFont
|
|
End
|
|
|
|
|
|
# modify the Author definition from stdtitle.inc
|
|
Style Author
|
|
InTitle 0
|
|
InPreamble 1
|
|
End
|
|
|
|
|
|
Style "PDF author"
|
|
CopyStyle "TOG project URL"
|
|
LatexName pdfauthor
|
|
LabelString "PDF author:"
|
|
End
|
|
|
|
Style Keywords
|
|
CopyStyle "TOG project URL"
|
|
LatexName keywords
|
|
LabelType Static
|
|
LabelString "Keywords:"
|
|
LabelFont
|
|
Series Bold
|
|
Size Normal
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Teaser
|
|
Margin Dynamic
|
|
LatexType Command
|
|
LatexName teaser
|
|
Category FrontMatter
|
|
ParSkip 0.4
|
|
BottomSep 0.5
|
|
Align Left
|
|
LabelSep xx
|
|
LabelType Static
|
|
LabelString "Teaser image:"
|
|
LabelFont
|
|
Series Bold
|
|
Size Normal
|
|
Color Green
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Abstract
|
|
Margin Static
|
|
LatexType Environment
|
|
LatexName abstract
|
|
Category FrontMatter
|
|
NextNoIndent 1
|
|
LeftMargin MMM
|
|
RightMargin MMM
|
|
ParIndent MM
|
|
ItemSep 0
|
|
TopSep 0.7
|
|
BottomSep 0.7
|
|
ParSep 0
|
|
Align Block
|
|
AlignPossible Block
|
|
LabelType Centered
|
|
LabelString "Abstract"
|
|
LabelBottomSep 0.5
|
|
Font
|
|
Size Small
|
|
EndFont
|
|
LabelFont
|
|
Series Bold
|
|
Size Large
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style "CR categories"
|
|
CopyStyle Abstract
|
|
LatexName CRcatlist
|
|
Margin Dynamic
|
|
ParbreakIsNewline 1
|
|
LeftMargin ""
|
|
LabelSep xx
|
|
LabelType Static
|
|
LabelString "CR Categories:"
|
|
LabelFont
|
|
Series Bold
|
|
Size Normal
|
|
EndFont
|
|
End
|
|
|
|
|
|
InsetLayout "Flex:CRcat"
|
|
LyxType custom
|
|
LatexType command
|
|
LatexName CRcat
|
|
Decoration classic
|
|
LabelString "CR category"
|
|
Font
|
|
Color foreground
|
|
Size Small
|
|
Family Roman
|
|
Shape Up
|
|
Series Medium
|
|
Misc No_Emph
|
|
Misc No_Noun
|
|
Misc No_Bar
|
|
EndFont
|
|
LabelFont
|
|
Color green
|
|
Size Small
|
|
EndFont
|
|
Argument 1
|
|
Mandatory 1
|
|
LabelString "CR-number"
|
|
Tooltip "Number of the category"
|
|
PassThru 1
|
|
EndArgument
|
|
Argument 2
|
|
Mandatory 1
|
|
LabelString "Subcategory"
|
|
Tooltip "Subcategory"
|
|
PassThru 1
|
|
EndArgument
|
|
Argument 3
|
|
Mandatory 1
|
|
LabelString "Third-level"
|
|
Tooltip "Third-level of the category"
|
|
PassThru 1
|
|
EndArgument
|
|
End
|
|
|
|
|
|
InsetLayout "Flex:ShortCite"
|
|
CopyStyle "Flex:CRcat"
|
|
ResetArgs 1
|
|
LatexName shortcite
|
|
Decoration Conglomerate
|
|
LabelString "Short cite"
|
|
End
|
|
|
|
|
|
InsetLayout "Flex:Thanks"
|
|
CopyStyle "Flex:ShortCite"
|
|
LatexName thanks
|
|
Decoration Classic
|
|
LabelString "E-mail"
|
|
LabelFont
|
|
Color blue
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Acknowledgments
|
|
CopyStyle Abstract
|
|
LatexName acks
|
|
Category BackMatter
|
|
InTitle 0
|
|
LabelBottomsep 0
|
|
LabelType Above
|
|
LabelString "Acknowledgments"
|
|
End
|
|
|