Next / Previous / Contents / Shipman's homepage

4.14. pageSequence(): Build the page-sequence element

This function returns a page-sequence node, which is a container for textual content (as opposed to formatting specifications). Here is the calling sequence:

pageSequence(masterRef)

The masterRef argument is either the name of a simple-page-master to be used for all the pages in this sequence, or the name of a repeatable-page-master-alternatives node as built by the repeatMaster() function.

The resulting page-sequence node must be appended to the root element (available as the .root attribute of the FlowTree instance), after the layout-master-set node created by the FlowTree() constructor.