]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/spie.layout
Grammar
[lyx.git] / lib / layouts / spie.layout
index 4f8d9e563728f15a2e6c186062336ab586cf11a9..6e28dc7f19ba46ad4624c29a058fafc2ac47d1d5 100644 (file)
@@ -1,14 +1,16 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[spie]{article (SPIE Proceedings)}
+#  \DeclareLaTeXClass[spie,cite.sty]{SPIE Proceedings}
+#  \DeclareCategory{Articles}
 # SPIE-Article textclass definition file.
-# Author : Guenter Milde <g.milde@physik.tu-dresden.de>
+# Author : Guenter Milde <milde@lyx.org>
 # to be used with the spie.cls LaTex-style available at
 # http://public.lanl.gov/kmh/spie/
 
-Format 11
+Format 104
 Input stdclass.inc
 
 NoStyle Chapter
+NoCounter chapter
 NoStyle Chapter*
 
 PageStyle               empty
@@ -23,6 +25,7 @@ Style Section
          Series              Bold
          Size                large
        EndFont
+       TocLevel 1
 End
 
 
@@ -47,6 +50,10 @@ Style Keywords
        LabelFont
          Series              Bold
        EndFont
+       DocBookTag         keyword
+       DocBookTagType     paragraph
+       DocBookWrapperTag  keywordset
+       DocBookInInfo      always
 End
 
 
@@ -67,6 +74,11 @@ Style Authorinfo
          Series              Bold
          Shape               Italic
        EndFont
+       DocBookTag            personname
+       DocBookTagType        paragraph
+       DocBookWrapperTag     author
+       DocBookWrapperTagType inline
+       DocBookInInfo         always
 End
 
 
@@ -91,4 +103,8 @@ Style Acknowledgments
 #  LatexType             Command
        LatexName             acknowledgments
        LabelString           "ACKNOWLEDGMENTS"
+       DocBookTag            para
+       DocBookWrapperTag     acknowledgements
+       DocBookSection        true
 End
+