Login  Register

Re: 0Start numbering page issue

Posted by mojavelinux on May 04, 2020; 8:32am
URL: https://discuss.asciidoctor.org/0Start-numbering-page-issue-tp7966p7971.html

The problem you're facing is this one: https://github.com/asciidoctor/asciidoctor-pdf/issues/1644 This has been fixed and will be available in a future release (either 1.5.4 or 2.0.0).

You can workaround the problem for now by adding a title page (either set the title-page attribute or set the doctype attribute to book). Your document would look something like this:

= Document Title
:title-page:
:toc:
:toclevels: 2
:sectnums:
:sectnumlevels: 2
:front-cover-image: image:cover-page.pdf[]

== Introduction

intro content

== Method

method content

== Conclusion

conclusion content

<<<

== References

references content

Given that you are referencing chapter-title in the running footer, you probably want to set the doctype to book (since chapters are not defined in the default doctype of article).

Cheers,

-Dan



On Sat, May 2, 2020 at 12:57 PM yo [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Hi Dan,
Thanks for all this amazing work !! I am migrating everything in my fs to asciidoctor. Great work to all the team.

Does upload work?
article.ad
article.ad
a test-theme.yml
test-theme.yml



If you reply to this email, your message will be added to the discussion below:
https://discuss.asciidoctor.org/0Start-numbering-page-issue-tp7966p7968.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML


--
Dan Allen | @mojavelinux | https://twitter.com/mojavelinux