From d721f5c6bd3dbda1810301918fdca0fb1d921377 Mon Sep 17 00:00:00 2001 From: Thibaut Cuvelier Date: Fri, 16 Oct 2020 18:40:07 +0200 Subject: [PATCH] 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 46a7a13b24..9fd6d1eb38 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 037d225b98..b84f7c5866 100644 --- a/lib/layouts/report.layout +++ b/lib/layouts/report.layout @@ -6,10 +6,15 @@ # Transposed by Pascal André # 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" -- 2.39.2