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

Provide a way to create a page break in the PDF export which guarantees that the text continues on the next odd page #502

Open
luis-r-izquierdo opened this issue Sep 2, 2024 · 3 comments
Assignees

Comments

@luis-r-izquierdo
Copy link

Feature Description

  • A class for pdf exports (similar to class="page-break-after"), which makes sure that the next page with content is odd (by adding, if necessary, a blank page).
  • A class for pdf exports (similar to class="page-break-before"), which makes sure that the element with this class is in an odd-numbered page (by adding, if necessary, a blank page before).

Feature Use Case

Generally, one wants chapters to start on odd-numbered pages in printed documents. Users would welcome a way to do this automatically through the use of css.

@SteelWagstaff
Copy link
Member

Research needed. I suspect something like this may already be possible in Prince -- we would just need to read the documentation more carefully.

@SteelWagstaff
Copy link
Member

SteelWagstaff commented Jan 2, 2025

@luis-r-izquierdo have you tried this setting in appearance->theme options->PDF options?
Screenshot 2025-01-02 111348
I think setting the 'Section Openings' to 'Right page section openings' should do what you're looking for ...

@luis-r-izquierdo
Copy link
Author

Thanks a lot Steel!
Luis

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants