owenh000 / asciidoctor-multipage

A configurable multipage HTML converter for Asciidoctor
https://owenh.net/asciidoctor-multipage
MIT License
58 stars 23 forks source link

Unable to split document into lower levels #5

Closed plevold closed 3 years ago

plevold commented 3 years ago

No matter what i set multipage-level to I always get a document that looks like this: image

I want to Split the document into pages for the second level sections (the === sections). Here's the source:

= Sample Document
Author Name
:doctype: book
:toc: center
:toclevels: 3
:multipage-level: 3
:sectnums:

= Part 1

Intro

== Level 2

Some text goes here

=== Level 3

other text goes here

== Other Level 2

Some more text goes here

=== Level 3

additional text goes here

Built using the following command: asciidoctor -r asciidoctor-multipage -b multipage_html5 -D out sample.adoc

Am I doing something wrong?

I'm using the following gem versions:

asciidoctor (2.0.12, 2.0.10)
asciidoctor-multipage (0.0.3)
owenh000 commented 3 years ago

Thanks for the report! This is fixed in commit 3b70976d44eff040e91732b972f934b18a61eefc. The fix is included in release v0.0.4.

plevold commented 3 years ago

Worked like a charm. Thanks!