2016

Table Of Contents
Each PAGESEQUENCE has a child object STORY which acts as a container for the flow
content containing multiple PARAGRAPH elements.
Each PARAGRAPH object holds RICHTEXT giving you the ability to apply a wide variety
of styling.
3
The SINGLEMASTERPAGEREFERENCE element defines a sequence in which a particular
master page will be applied to a singles page in a page sequence. It contains the name
of the master page in the QuarkXPress template to be used. The given master page is
applied to one page of a page sequence. This is useful for front matter, back matter
and section start pages.
The following is an example of the use of the SINGLEMASTERPAGEREFERENCE
<MASTERPAGESEQUENCE NAME="SingleMaster">
<SINGLEMASTERPAGEREFERENCE NAME="A-MasterA"></SINGLEMASTERPAGEREFERENCE>
<SINGLEMASTERPAGEREFERENCE NAME="B-MasterB"></SINGLEMASTERPAGEREFERENCE>
<SINGLEMASTERPAGEREFERENCE NAME="C-MasterC"></SINGLEMASTERPAGEREFERENCE>
</MASTERPAGESEQUENCE>
This applies the A-MasterAmaster page to the first page, B-MasterB master page to
the second page, and the C-MasterC master page to the third page and onwards.
4
The REPEATABLEMASTERPAGEREFERENCE element defines a sequence in which a
master page will be applied to multiple pages in a page sequence. It contains the name
of the master page in the QuarkXPress template to be used. This is useful for
constructing runs of identical pages and causes a bounded or unbounded sequence of
pages to be generated using the same master page.
This element is a super set of the SINGLEMASTERPAGEREFERENCE element. It allows
an application of a particular master page upto n number of pages using the
MAXREPEATS attribute.
The following is an example of the use of the REPEATABLEMASTERPAGEREFERENCE.
<MASTERPAGESEQUENCE NAME="RepeatableMaster">
<REPEATABLEMASTERPAGEREFERENCE MAXREPEATS="5" NAME="B-MasterB"/>
<REPEATABLEMASTERPAGEREFERENCE NAME="C-MasterC"/>
</MASTERPAGESEQUENCE>
This applies the B-MasterB master page to the first 5 pages. From the sixth page
onward, the C-MasterC master page will be applied.
5
The REPEATABLEMASTERPAGEALTERNATIVES element defines a master page along
with conditions that must be satisfied to apply the given master page on a page. It
contains one or more CONDITIONALMASTERPAGEREFERENCE elements that define the
conditions.
This is a super set of the first two master page sequences. It allows an application of a
particular master page on even pages, a different master page on odd pages and a
different master page on first and last pages.
The following is an example of the use of the REPEATABLEMASTERPAGEALTERNATIVES.
<MASTERPAGESEQUENCE NAME="ConditionalMaster">
<REPEATABLEMASTERPAGEALTERNATIVES>
<CONDITIONALMASTERPAGEREFERENCE NAME="D-MasterD" POSITION="FIRST"/>
<CONDITIONALMASTERPAGEREFERENCE NAME="A-MasterA" ODDOREVEN="EVEN"
POSITION="REST"/>
<CONDITIONALMASTERPAGEREFERENCE NAME="C-MasterC" ODDOREVEN="ODD"
POSITION="REST"/>
<CONDITIONALMASTERPAGEREFERENCE NAME="B-MasterB" POSITION="LAST"/>
</REPEATABLEMASTERPAGEALTERNATIVES>
</MASTERPAGESEQUENCE>
192 | A GUIDE TO QUARKXPRESS SERVER 2016
QUARKXPRESS SERVER FEATURES