Short pages

The following <page-properties/> attribute declares the short page repositioning mode for the current document.

Where allowed

The $document mapping.

Range of effect

The current document.

Attribute

avoid-shortpages

Sets the short page processing mode. If yes, then TopLeaf is permitted to reposition the content of short pages.

The permitted values are:

  • yes — TopLeaf is permitted to reposition the content of any short page.

  • input-changed — TopLeaf is only permitted to reposition the content of short pages generated from an input changed or manually included leaf.

  • no — TopLeaf is not permitted to reposition the content of a short page. This is the default.

Some constraints may be applied when repositioning the content of short pages. These are declared in the $document mapping using the <page-properties/> command.

Example

Declare the following command in the $document mapping to enable short page minimisation:

<page-properties avoid-shortpages="yes" />