]> git.lyx.org Git - features.git/blobdiff - lib/layouts/acmart.layout
DocBook: implement title for layouts that previously missed it.
[features.git] / lib / layouts / acmart.layout
index 621ba81a5021e18963ba736ff920031504935b5f..7e0e85b68d7c8bb6e55e7d9e92aa9ad552c6d0b6 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 63
+Format 85
 
 Provides amscls 1
 Provides amsmath 1
@@ -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
@@ -305,37 +311,37 @@ 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
 
@@ -347,19 +353,19 @@ 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
 
@@ -537,6 +543,7 @@ End
 OutlinerName thm "Definitions & Theorems"
 
 Counter theorem
+       GuiName Theorem
        Within                section
 End
 
@@ -658,6 +665,9 @@ Style Acknowledgments
     Series Bold
     Size Large
   EndFont
+  DocBookTag            para
+  DocBookWrapperTag     acknowledgements
+  DocBookSection        true
 End
 
 InsetLayout Flex:Grant_Sponsor