2019.1

Table Of Contents
Scripts" on page390 and "Control Script API" on page811). This is especially useful when you
need identical sections with different settings.
Pages
Unlike emails, Print sections can contain multiple pages. Pages are naturally limited by their
size and margins. If the content of a section doesn't fit on one page, the overflow goes to the
next page. This happens automatically, based on the section's page size and margins; see
"Page settings: size, margins and bleed" on the facing page.
The minimum number of pages can be set via the Print section properties; see "Print section
properties" on page481.
Although generally the same content elements can be used in all three contexts (see "Content
elements" on page179), the specific characteristics of pages make it possible to use special
elements, such as page numbers; see "Page numbers " on page139.
The widow/orphan setting lets you control how many lines of a paragraph stick together, when
content has to move to another page; see "Preventing widows and orphans" on page142. You
can also avoid or force a page break before or after an entire element, see "Page breaks" on
page143.
Each page in a print section has a natural position: it is the first page, the last page, a 'middle'
page (a page between the first and the last page) or a single page. For each of those positions,
a different Master Page and Media can be set. A Master Page functions as a page's
background, with for example a header and footer. A Media represents preprinted paper that a
page can be printed on. See "Master Pages" on page145 and "Media" on page148.
Page specific content elements
The specific characteristics of pages make it possible to use these special elements:
l
Page numbers can only be used in a Print context. See "Page numbers " on page139 to
learn how to add and change them.
l Conditional content and dynamic tables, when used in a Print section, may or may not
leave an empty space at the bottom of the last page. To fill that space, if there is any, an
image or advert can be used as a whitespace element; see "Whitespace elements:
using optional space at the end of the last page" on page139.
Page 137