2020

Table Of Contents
QUARKXPRESS SERVER FEATURES
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>
This applies the D-MasterD master page to the first page, the A-MasterA
master page to all even numbered pages, the C-MasterC master page to all odd
numbered pages, and the B-MasterB master page to the last page.
The CONDITIONALMASTERPAGEREFERENCE element gives you the ability to 6.
specify the master page along with the conditions that must be satisfied to
apply the given master page on a page. The following conditions may be
specified:
a page’s position within a sequence
the odd or even page number property
whether or not a particular page is blank
contains the actual flow content with reference to the MASTERPAGESEQAUENCE
via a @MASTERPAGESEQUENEREF and a @MASTERPAGEREF respectively. Each
PAGESEQUENCE element will have a certain non-variable static content segment
(represented by STATICCONTENT) containing the content that is intended to be
repeated across multiple flow pages.
The STATICCONTENT element gives you the ability to specify content chunks 7.
that are intended to be repeated across multiple flow pages. For example,
running headers or footers.
The SECTIONNUMBERFORMAT element gives you the ability to specify the page 8.
number format.
<PROJECT>
<LAYOUT>
<ID UID="1"/>
<MASTERPAGESEQUENCE NAME="APSMasterPages">
<REPEATABLEMASTERPAGEALTERNATIVES>
<CONDITIONALMASTERPAGEREFERENCE POSITION="FIRST" NAME="C-
ArticleFirst"/>
<CONDITIONALMASTERPAGEREFERENCE POSITION="REST" NAME="D-
ArticleRest"/>
<CONDITIONALMASTERPAGEREFERENCE POSITION="LAST" NAME="E-
ArticleLast"/>
<CONDITIONALMASTERPAGEREFERENCE BLANKORNOTBLANK="BLANK"
NAME="F-BlankMaster"/>
</REPEATABLEMASTERPAGEALTERNATIVES>
</MASTERPAGESEQUENCE>
<PAGESEQUENCE MASTERPAGESEQUENCEREF="APSMasterPages"
FORCEPAGECOUNT="ENDONEVEN">
<SECTIONNUMBERFORMAT FORMAT="NUMERIC" INITIALPAGENUMBER="1"/>
210 | A GUIDE TO QUARKXPRESS SERVER 2020