Next / Previous / Contents / Shipman's homepage

6.14. repeatablePageMasterReference()

repeatablePageMasterReference(s, masterRef, **kw)
s

The sox.Sox instance to which output is to be written.

masterRef

The name of the simple-page-master to be used for formatting output.

kw

A dictionary of attribute names and values to be attached to the generated repeatable-page-master-reference element.

This function does not return a value. It writes a complete element.

For example, assuming s is a sox.Sox instance, this code:

repeatablePageMasterReference(s, "many", dash(maximumRepeats='10'))

would produce this element:

    <repeatable-page-master-reference master-reference='many'
        maximum-repeats='10'/>