]> git.lyx.org Git - features.git/blobdiff - lib/layouts/report.layout
DocBook: slightly change the Copernicus template to be valid DocBook.
[features.git] / lib / layouts / report.layout
index 6928a69738d5f29c5d7c09eb3e51cc01cc20d2c9..b84f7c586630cdbbe23302d1d941d021c7adde29 100644 (file)
@@ -1,23 +1,26 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass{report}
+#  \DeclareLaTeXClass{Report (Standard Class)}
+#  \DeclareCategory{Reports}
 # Report textclass definition file. Taken from initial LyX source code
 # Author : Matthias Ettrich <ettrich@informatik.uni-tuebingen.de>
-# Transposed by Pascal André <andre@via.ecp.fr>
+# Transposed by Pascal André <andre@via.ecp.fr>
 # Heavily modifed and enhanced by serveral developers.
 
-# Input general definitions
+Format 85
 Input stdclass.inc
+Input numreport.inc
 
-# a few changes to the bibliography
-Style Bibliography
-  TopSep               4
-  LabelString          Bibliography
+# Reports are allowed to have chapters, which implies that this must be 
+# a DocBook book.
+DocBookRoot                  book
+DocBookForceAbstract  true
 
-  # label font definition
-  LabelFont 
-    Series             Bold
-    Size               Huge
-  EndFont
+Style Bibliography
+       TopSep                4
+       LabelString           "Bibliography"
+       LabelFont
+         Series              Bold
+         Size                Huge
+       EndFont
+       TocLevel              0
 End
-
-