]> git.lyx.org Git - features.git/commitdiff
DocBook: make report output a book.
authorThibaut Cuvelier <tcuvelier@lyx.org>
Fri, 16 Oct 2020 16:40:07 +0000 (18:40 +0200)
committerThibaut Cuvelier <tcuvelier@lyx.org>
Fri, 16 Oct 2020 16:40:07 +0000 (18:40 +0200)
Reports are allowed to have chapters, which implies that this must be a DocBook book.

lib/layouts/book.layout
lib/layouts/report.layout

index 46a7a13b243f011b9c228be320188930fd4232b0..9fd6d1eb3831b59dde14e02b91a2cae882b117c8 100644 (file)
@@ -7,15 +7,15 @@
 # Heavily modifed and enhanced by serveral developers.
 
 
-Format 84
+Format 85
 Input stdclass.inc
 Input numreport.inc
 
 
-Sides                  2
-PageStyle              Headings
-DocBookRoot            book
-DocBookForceAbstract   true
+Sides                 2
+PageStyle             Headings
+DocBookRoot                  book
+DocBookForceAbstract  true
 
 
 NoStyle Abstract
index 037d225b9873e0b68d52d611a7d5792e01c6c484..b84f7c586630cdbbe23302d1d941d021c7adde29 100644 (file)
@@ -6,10 +6,15 @@
 # Transposed by Pascal AndrĂ© <andre@via.ecp.fr>
 # Heavily modifed and enhanced by serveral developers.
 
-Format 84
+Format 85
 Input stdclass.inc
 Input numreport.inc
 
+# Reports are allowed to have chapters, which implies that this must be 
+# a DocBook book.
+DocBookRoot                  book
+DocBookForceAbstract  true
+
 Style Bibliography
        TopSep                4
        LabelString           "Bibliography"