ggrossetie / asciidoctor-web-pdf

Convert AsciiDoc documents to PDF using web technologies
https://asciidoctor.org
MIT License
448 stars 92 forks source link

Use roman numerals (iv, xi) starting from “i” on front matter pages #251

Open ggrossetie opened 4 years ago

ggrossetie commented 4 years ago

All front matter (including blank pages) should be numbered with Roman numerals (iv, xi) starting from “i” on the first page. The following pages are counted as front matter pages:

  • Title Page
  • Copyright Page
  • Dedication / Acknowledgments
  • Table of Contents
  • Foreword / Prologue
  • Epigraph (or Quote)
  • Reviews However, of the front matter pages, page numbers should only be visible on the following:
  • Acknowledgments / Dedication
  • Table of Contents
  • Foreword / Prologue
  • Reviews

https://www.artbookbindery.com/guide/page-numbering

For reference, Asciidoctor PDF considers that the preamble is not a front matter page (by default, this is configurable via theme).

ggrossetie commented 4 years ago

See: https://github.com/Hopding/pdf-lib/issues/464#issuecomment-643834048 on how to update the page labels on the PDF.