From 2e063f4d800b73089029c8308c722a2113238807 Mon Sep 17 00:00:00 2001 From: Marat Radchenko Date: Sun, 1 Mar 2020 13:15:34 +0300 Subject: [PATCH] Stop adding negative leveloffset for EPUB asciidoctor-epub3 1.5.0-alpha-14 now handles whole book as a single document. Negative leveloffset 1. Breaks appendix because appendix subsections are not allowed to be higher that level 3. When leveloffset is applied to them, they become level 2 and are no longer children of appendix and instead become standalone chapters 2. Transforms progit into a multi-part book instead of multi-chapter book, what is wrong After removal of negative offset, epub is structurally equivalent to other formats. --- progit.asc | 2 -- 1 file changed, 2 deletions(-) diff --git a/progit.asc b/progit.asc index 8c85ad177..26e41bab3 100644 --- a/progit.asc +++ b/progit.asc @@ -8,8 +8,6 @@ Scott Chacon; Ben Straub :front-cover-image: image:book/cover.png[width=1050,height=1600] :icons: font -ifdef::ebook-format[:leveloffset: -1] - include::book/license.asc[] include::book/preface_schacon.asc[]