How to start page numbering from Chapter 1?

Posted by siddjain on
URL: https://discuss.asciidoctor.org/How-to-start-page-numbering-from-Chapter-1-tp8278.html

I am writing a book in asciidoc. The book has a dedication and preface before Chapter 1. Currently, asciidoctorpdf starts page numbering from the dedication page. I would like to start page numbering from Chapter 1. How can I do that?

My asciidoc looks like this:

= My Book
My Name
v1.0, 2020-10
:doctype: book
:toc:

[dedication]
= Dedication

My dedication

include::preface.adoc[]

// this is from where I want to start page numbering.
include::chap01.adoc[]