You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
pollen-tfl/page-break-before.html.pm

8 lines
748 B
Perl

#lang pollen
(define-meta title "page break before")
hanging-topic[(topic-from-metas metas)]{Alternative to hard page breaks}
em{Page break before} forces a paragraph to start at the top of a new page. Visually, theres no difference between using the page-break-before option and typing a xref{hard page break} in front of the paragraph. But thats only efficient for the occasional paragraph.
The page-break-before option is intended to be incorporated into xref{paragraph and character styles} so all paragraphs of a particular style will start at the top of a new page. For instance, you might apply it to your top-level heading style. In a long document, typing hard page breaks in front of each heading would be tedious.