2016

Table Of Contents
Here, we've created a cell that spans five columns by supplying only one <ENTRY>,
and we've specified a black, one-point top line and a red, one-point bottom line for
that row only.
Working with sections
The Section feature lets you change the numbering system for a layout or a range of
pages in a layout. To use this feature, you create a section start on a particular page.
In that section start, you can specify a number format, a starting page number, and
an optional prefix. For example:
<PAGE FORMATTEDNAME="A1" MASTER="A-Master A" POSITION="RIGHTOFSPINE">
<ID UID="1"/>
<SECTION FORMAT="ROMAN" NUMBER="1" PREFIX="A" OPERATION="CREATE"/>
</PAGE>
Once you have inserted a <SECTION> element, QuarkXPress Server will apply
section-specific numbering and formatting to automatic page numbers. To insert
automatic page numbers, use the RICHTEXT@PAGENUMBERCHAR attribute:
<TEXT>
<STORY STORYDIRECTION="HORIZONTAL">
<PARAGRAPH MERGE="false" PARASTYLE="Normal">
<RICHTEXT MERGE="false">This is page </RICHTEXT>
<RICHTEXT MERGE="false" PAGENUMBERCHAR="CURRENTPAGE"/>
<RICHTEXT MERGE="false">. The story continues on page
</RICHTEXT>
<RICHTEXT MERGE="false" PAGENUMBERCHAR="NEXTPAGE"/>
<RICHTEXT MERGE="false">. This story is continued from page
</RICHTEXT>
<RICHTEXT MERGE="false" PAGENUMBERCHAR="PREVIOUSPAGE"/>
</PARAGRAPH>
</STORY>
</TEXT>
To remove a section break, use XML like the following:
<PAGE FORMATTEDNAME="A1" MASTER="A-Master A" POSITION="RIGHTOFSPINE">
<ID UID="1"/>
<SECTION OPERATION="DELETE"/>
</PAGE>
Working with Composition Zones
A Composition Zones item in a deconstructed project is represented in XML by a
<COMPOSITIONZONE> element. Like the <BOX> element type, this element type supports
the <GEOMETRY>, <SHADOW>, and <FRAME> elements.
The content of each Composition Zones item is provided by a layout called the
composition layout, which can be internal or external. Each <COMPOSITIONZONE>
element includes a TYPE attribute that indicates whether its composition layout is
internal or external.
For internal Composition Zones items, each Composition Zones item is represented
as an additional <LAYOUT> element within the <PROJECT> element. The
LAYOUTREF element within the <COMPOSITIONZONE> element indicates the name
of the <LAYOUT> that corresponds to that particular Composition Zones item.
For external Composition Zones items, the PATH attribute indicates the location
of the project containing the associated composition layout. However, a copy of
the layout is also stored within the project as an additional <LAYOUT> element.
130 | A GUIDE TO QUARKXPRESS SERVER 2016
USING QUARKXPRESS SERVER