commit d721f5c6bd3dbda1810301918fdca0fb1d921377
Author: Thibaut Cuvelier <[email protected]>
Date:   Fri Oct 16 18:40:07 2020 +0200

    DocBook: make report output a book.
    
    Reports are allowed to have chapters, which implies that this must be a 
DocBook book.
---
 lib/layouts/book.layout   |   10 +++++-----
 lib/layouts/report.layout |    7 ++++++-
 2 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/lib/layouts/book.layout b/lib/layouts/book.layout
index 46a7a13..9fd6d1e 100644
--- a/lib/layouts/book.layout
+++ b/lib/layouts/book.layout
@@ -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
diff --git a/lib/layouts/report.layout b/lib/layouts/report.layout
index 037d225..b84f7c5 100644
--- a/lib/layouts/report.layout
+++ b/lib/layouts/report.layout
@@ -6,10 +6,15 @@
 # Transposed by Pascal AndrĂ© <[email protected]>
 # 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"
-- 
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to