]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/amsbook.layout
DocBook: implement title for layouts that previously missed it.
[lyx.git] / lib / layouts / amsbook.layout
index 64e25c2161909ccdde9b9a1e8d4e3de74aa5e1eb..74c5a7ed6bae3c32df24614d06d302d447f340d2 100644 (file)
@@ -1,5 +1,5 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass{American Mathematical Society (AMS) Book}
+#  \DeclareLaTeXClass{American Mathematical Society (AMS)}
 #  \DeclareCategory{Books}
 # AMS-Article textclass definition file. Taken from initial LyX source code
 # and from the Article textclass definition file, following the AMS sample
 # Moved "number within sections" to modules Aug '09 (Paul Rubin <rubin@msu.edu>)
 
 
-Format 40
+Format 85
 
 Columns                 1
 Sides                   2
 PageStyle               Headers
+DocBookRoot             book
 
 Provides amsmath         1
 Provides makeidx         1
@@ -39,6 +40,7 @@ Style Standard
        Align          Block
        AlignPossible  Block, Left, Right, Center
        LabelType      No_Label
+       DocBookTag     para
 End
 
 
@@ -116,6 +118,10 @@ Input amsdefs.inc
 # Unwanted styles from the includes
 NoStyle Verse
 
+Style Bibliography
+       TocLevel             0
+End
+
 # Chapter is _not_ prepended
 # JSpitz: this seems to be not true (anymore?)
 #Style Section
@@ -147,7 +153,7 @@ Style Chapter_Exercises
        ParSep                0.3
        Align                 Block
        AlignPossible         Block, Left
-       LabelType             Counter
+       LabelType             Static
        LabelFont
          Shape               Up
          Series              Bold
@@ -156,4 +162,16 @@ Style Chapter_Exercises
          \newenvironment{lyxxcb}{\begin{xcb}{Exercises}\begin{enumerate}}
                             {\end{enumerate}\end{xcb}}
        EndPreamble
+       Argument listpreamble:1
+         LabelString    "List preamble"
+         MenuString     "List Preamble"
+         Tooltip        "LaTeX code to be inserted before the first item"
+         PassThru       1
+         Font
+           Family typewriter
+           Color latex
+         EndFont
+       EndArgument
+       DocBookTag       para
+       DocBookAttr      role='chapter-exercises'
 End