Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow page-numbering-start-at key in theme for prepress book to reference page before body #2252

Closed
mojavelinux opened this issue Jun 22, 2022 · 4 comments
Assignees
Milestone

Comments

@mojavelinux
Copy link
Member

In a prepress book, the first page of the body is blank. If the value of the page-numbering-start-at key in the theme is 0, begin the page numbering on this blank page so the preamble and chapter pages start on even number pages.

@mojavelinux mojavelinux self-assigned this Jun 22, 2022
@mojavelinux mojavelinux added this to the v2.2.x milestone Jun 22, 2022
@mojavelinux
Copy link
Member Author

Another possibility to look into is to treat a numeric value literally, which would be the 1-based index starting on the blank page before the first content page of the body. The symbolic value "body" would retain the existing behavior.

@mojavelinux
Copy link
Member Author

It turns out we can use the value 1 for this since the value 1 wasn't working anyway. See #2255.

The symbolic value "body" will still refer to the page after the empty verso page. That will avoid breaking any existing documents.

@mojavelinux
Copy link
Member Author

After giving this more thought, I'm back to the thought that the value for this should be 0 instead of 1. The reasoning is that we are treating page 1 of the body to be the first page of content. And since 0 doesn't have any other meaning in this context, it serves to communicate that we want the page before that page to be where the page numbering / running content starts. The "0" page.

@mojavelinux
Copy link
Member Author

Btw, this issue pertains to both the page numbering (page-numbering-start-at) and the running content (running-content-start-at).

mojavelinux added a commit to mojavelinux/asciidoctor-pdf that referenced this issue Jun 26, 2022
…mpty verso page before first chapter of prepress book if start-at value is 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant