]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/acmart.layout
Make continuous spellcheck the default.
[lyx.git] / lib / layouts / acmart.layout
index 8b95acea73dc0cae5378ae05007fadeb96c616de..5f41c3e2a01c9ece0a4c8c38db14e557cab1593d 100644 (file)
@@ -1,13 +1,15 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[acmart]{Association for Computing Machinery (ACM) article}
+#  \DeclareLaTeXClass[acmart]{Association for Computing Machinery (ACM)}
 #  \DeclareCategory{Articles}
 #
 # Layout for typesetting publications of the Association for Computing Machinery.
 #
 # Author : John Perry <john.perry@usm.edu>
 #          Guillaume Munch-Maccagnoni <gm@lyx.org>
+# Reviewed following tickets #10722 & #10723
+#          by Jean-Pierre Chrétien <jpc@lyx.org>
 
-Format 64
+Format 93
 
 Provides amscls 1
 Provides amsmath 1
@@ -90,12 +92,12 @@ Style Thanks
     Family Roman
   EndFont
   LabelFont
-    Color Blue
+    Color textlabel1
     Shape Italic
     Family Roman
   EndFont
   LabelType Static
-  LabelString "Thanks:"
+  LabelString "Thanks: "
   LatexType command
   LatexName thanks
   Margin Dynamic
@@ -106,10 +108,10 @@ Style ACM_Journal
   AlignPossible left
   Category Preamble
   InPreamble  1
-  LabelString "Journal's Short Name:"
+  LabelString "Journal's Short Name: "
   LabelType Static
   LabelFont
-    Color Blue
+    Color textlabel1
     Shape Italic
   EndFont
   LatexName acmJournal
@@ -135,7 +137,7 @@ Style ACM_Conference
     LabelString "Venue"
     Mandatory 1
   EndArgument
-  LabelString "Conference Name:"
+  LabelString "Conference Name: "
   LatexName acmConference
   Margin Dynamic
 End
@@ -144,11 +146,15 @@ Style Title
   Argument 1
     LabelString "Short title"
     Mandatory 0
+       # TODO: In DocBook, output it in a titleabbrev outside this title.
   EndArgument
   Font
     Size Largest
   EndFont
   DependsOn Abstract
+  DocBookTag      title
+  DocBookTagType  paragraph
+  DocBookInInfo   maybe
 End
 
 Style Subtitle
@@ -162,6 +168,8 @@ Style Subtitle
     Size Larger
     Family Roman
   EndFont
+  DocBookTag            subtitle
+  DocBookInInfo         maybe
 End
 
 Style Email
@@ -173,10 +181,10 @@ Style Email
   EndFont
   #InPreamble  1
   InTitle 1
-  LabelString "Email address:"
+  LabelString "Email address: "
   LabelType Static
   LabelFont
-    Color Blue
+    Color textlabel1
     Shape Italic
     Family Roman
   EndFont
@@ -187,12 +195,12 @@ End
 
 Style ORCID
   CopyStyle Email
-  LabelString "ORCID:"
+  LabelString "ORCID: "
   Font
     Family Roman
   EndFont
   LabelFont
-    Color Blue
+    Color textlabel1
     Shape Italic
   EndFont
   LatexName orcid
@@ -204,16 +212,16 @@ Style Affiliation
     Family Roman
   EndFont
   LabelFont
-    Color Blue
+    Color textlabel1
     Shape Italic
   EndFont
-  LabelString "Affiliation:"
+  LabelString "Affiliation: "
   LatexName affiliation
 End
 
 Style Additional_Affiliation
   CopyStyle Affiliation
-  LabelString "Additional Affiliation:"
+  LabelString "Additional Affiliation: "
   LatexName additionalaffiliation
 End
 
@@ -288,10 +296,10 @@ Style TitleNote
   EndFont
   LabelFont
     Family Roman
-    Color Blue
+    Color textlabel1
     Shape Italic
   EndFont
-  LabelString "Title Note:"
+  LabelString "Title Note: "
   LatexName titlenote
   TopSep 0.3
   BottomSep 0.3
@@ -299,103 +307,103 @@ End
 
 Style SubtitleNote
   CopyStyle TitleNote
-  LabelString "Subtitle Note:"
+  LabelString "Subtitle Note: "
   LatexName subtitlenote
 End
 
 Style AuthorNote
   CopyStyle TitleNote
-  LabelString "Author Note:"
+  LabelString "Note: "
   LatexName authornote
 End
 
 Style ACM_Volume
   CopyStyle ACM_Journal
-  LabelString "ACM Volume:"
+  LabelString "Volume: "
   LatexName acmVolume
 End
 
 Style ACM_Number
   CopyStyle ACM_Journal
-  LabelString "ACM Number:"
+  LabelString "Number: "
   LatexName acmNumber
 End
 
 Style ACM_Article
   CopyStyle ACM_Journal
-  LabelString "ACM Article:"
+  LabelString "Article: "
   LatexName acmArticle
 End
 
 Style ACM_Year
   CopyStyle ACM_Journal
-  LabelString "ACM Year:"
+  LabelString "Year: "
   LatexName acmYear
 End
 
 Style ACM_Month
   CopyStyle ACM_Journal
-  LabelString "ACM Month:"
+  LabelString "Month: "
   LatexName acmMonth
 End
 
 Style ACM_Art_Seq_Num
   CopyStyle ACM_Journal
-  LabelString "Article Sequential Number:"
+  LabelString "Article Sequential Number: "
   LatexName acmArticleSeq
 End
 
 Style ACM_Submission_ID
   CopyStyle ACM_Journal
-  LabelString "ACM Submission ID:"
+  LabelString "Submission ID: "
   LatexName acmSubmissionID
 End
 
 Style ACM_Price
   CopyStyle ACM_Journal
-  LabelString "ACM Price:"
+  LabelString "Price: "
   LatexName acmPrice
 End
 
 Style ACM_ISBN
   CopyStyle ACM_Journal
-  LabelString "ACM ISBN:"
+  LabelString "ISBN: "
   LatexName acmISBN
 End
 
 Style ACM_DOI
   CopyStyle ACM_Journal
-  LabelString "ACM DOI:"
+  LabelString "ACM DOI: "
   LatexName acmDOI
 End
 
 Style ACM_Badge_R
   CopyStyle ACM_Journal
-  LabelString "ACM Badge R:"
+  LabelString "ACM Badge R: "
   LatexName acmBadgeR
 End
 
 Style ACM_Badge_L
   CopyStyle ACM_Journal
-  LabelString "ACM Badge L:"
+  LabelString "ACM Badge L: "
   LatexName acmBadgeL
 End
 
 Style Start_Page
   CopyStyle ACM_Journal
-  LabelString "Start Page:"
+  LabelString "Start Page: "
   LatexName startPage
 End
 
 Style Terms
   CopyStyle TitleNote
-  LabelString "Terms:"
+  LabelString "Terms: "
   LatexName terms
 End
 
 Style Keywords
   CopyStyle TitleNote
-  LabelString "Keywords:"
+  LabelString "Keywords: "
   LatexName keywords
 End
 
@@ -405,12 +413,12 @@ Style CCSXML
   LatexType Environment
   Font
     Family Typewriter
-    Color blue
+    Color textlabel1
     Shape Italic
   EndFont
   FreeSpacing 1
   InTitle 1
-  LabelString "Computing Classification Scheme (XML):"
+  LabelString "Computing Classification Scheme (XML): "
   LabelType Centered
   LabelFont
     Family Roman
@@ -426,11 +434,11 @@ Style CCS_Description
   Argument 1
     LabelString "Significance"
   EndArgument
-  LabelString "Computing Classification Scheme:"
+  LabelString "Computing Classification Scheme: "
   LatexName ccsdesc
   Font
     Family Typewriter
-    Color Blue
+    Color textlabel1
     Shape Italic
   EndFont
   LabelFont
@@ -441,13 +449,13 @@ End
 
 Style Set_Copyright
   CopyStyle ACM_Journal
-  LabelString "Set Copyright:"
+  LabelString "Set Copyright: "
   LatexName setcopyright
 End
 
 Style Copyright_Year
   CopyStyle ACM_Journal
-  LabelString "Copyright Year:"
+  LabelString "Copyright Year: "
   LatexName copyrightyear
 End
 
@@ -466,7 +474,7 @@ Style Received
     LabelString "Stage"
     Mandatory 0
   EndArgument
-  LabelString "Received:"
+  LabelString "Received: "
   LatexName received
 End
 
@@ -482,11 +490,11 @@ Style ShortAuthors
   LatexType command
   InTitle 0
   LabelType Static
-  LabelString "Short authors:"
+  LabelString "Short authors: "
   Margin Dynamic
   LabelFont
     Family Roman
-    Color blue
+    Color textlabel1
     Shape Italic
   EndFont
   Preamble
@@ -537,6 +545,7 @@ End
 OutlinerName thm "Definitions & Theorems"
 
 Counter theorem
+       GuiName Theorem
        Within                section
 End
 
@@ -658,6 +667,9 @@ Style Acknowledgments
     Series Bold
     Size Large
   EndFont
+  DocBookTag            para
+  DocBookWrapperTag     acknowledgements
+  DocBookSection        true
 End
 
 InsetLayout Flex:Grant_Sponsor