Skip to content

Option for page breaks while printing #1190

Closed
@bamhm182

Description

@bamhm182

What is Happening

When printing, multiple chapters can print on one page. This makes it a little difficult to find the beginning of new chapters as in some cases, the chapter may start at the bottom of a page.

no_breaks.pdf

What is Expected

As in real printed books, when a book is printed, the start of a new chapter means the start of a new page.

breaks.pdf

Proposed Resolution

The code <p style="page-break-before: always"/> can be added to the end of every chapter while on the print.html page in order to allow for the next chapter to be printed on a new page.

I realize this may not be ideal for all cases, so I also propose an option like [page-break-between-chapters] = true be available in the book.toml

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-PrintArea: The "printed" page

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions