]> 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 82bebfca966aa89f8f3b873b91131226beb73875..7e0e85b68d7c8bb6e55e7d9e92aa9ad552c6d0b6 100644 (file)
@@ -1,5 +1,5 @@
 #% 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.
@@ -9,7 +9,7 @@
 # Reviewed following tickets #10722 & #10723
 #          by Jean-Pierre Chrétien <jpc@lyx.org>
 
-Format 70
+Format 85
 
 Provides amscls 1
 Provides amsmath 1
@@ -146,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
@@ -539,6 +543,7 @@ End
 OutlinerName thm "Definitions & Theorems"
 
 Counter theorem
+       GuiName Theorem
        Within                section
 End
 
@@ -660,6 +665,9 @@ Style Acknowledgments
     Series Bold
     Size Large
   EndFont
+  DocBookTag            para
+  DocBookWrapperTag     acknowledgements
+  DocBookSection        true
 End
 
 InsetLayout Flex:Grant_Sponsor