Skip to content

Commit 2e063f4

Browse files
committed
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 0042bf2 commit 2e063f4

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
@@ -8,8 +8,6 @@ Scott Chacon; Ben Straub
88
:front-cover-image: image:book/cover.png[width=1050,height=1600]
99
:icons: font
1010

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

1513
include::book/preface_schacon.asc[]

0 commit comments

Comments
 (0)