Skip to content

Commit 009f8cb

Browse files
authored
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.
1 parent bb895a8 commit 009f8cb

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

progit.asc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ Scott Chacon; Ben Straub
99
:front-cover-image: image:book/cover.png[width=1050,height=1600]
1010
:icons: font
1111

12-
ifdef::ebook-format[:leveloffset: -1]
13-
1412
include::book/license.asc[]
1513

1614
include::book/preface_schacon.asc[]

0 commit comments

Comments
 (0)