Next / Previous / Contents / Shipman's homepage

6.15. repeatablePageMasterAlternatives()

repeatablePageMasterAlternatives(s)

This function writes the start tag of a repeatable-page-master-alternatives element, which is the page-sequence-master child you will use if you have a complex page layout (for instance, different margins on even and odd pages). It returns a sox.Elt token.

After calling this function, call Section 6.16, “conditionalPageMasterReference() once for each rule that relates a page position to a simple-page-master. Then call the .end() method of the sox.Elt token to write the closing tag.