<definition pages="26" min="26" max="96" add="2" dpi="300" output="vector" minimum-dpi="200" trimbox="true">
<!-- Define custom PDF layers -->
<layers>
<layer name="artwork" visibility="on"/>
<layer name="guides" visibility="off"/>
<layer name="cropmarks" visibility="fulfillment"/>
</layers>
<!-- Define the spine width based on a page range -->
<map name="binding">
<val key="26..48">10</val>
<val key="49..96">12</val>
</map>
<!-- Set count to false so that the cover is not counted within the 26 pages set in the definition tag -->
<set count="false">
<!-- Add captions to a set to help end users -->
<captions>
<left>Back Cover</left> <right>Front Cover</right>
</captions>
<page type="cover" position="left-right" hinge="8" bleed="20" width="452" height="246">
<filter type="binding" map="binding" />
</page>
</set>
<set>
<captions>
<center>Page {{n}}</center>
</captions>
<page type="page01" bleed="3" margin="3" width="206" height="206" />
</set>
<!-- Set grow true indicates that the instructions defined in this set will be used to build all missing pages to reach the default page count. The same set will be used when users add new pages to their projects. -->
<set grow="true">
<captions>
<left>Page {{n}}</left> <right>Page {{n}}</right>
</captions>
<page type="page02,page04,page06" bleed="3" margin="3" width="206" height="206" gutter="3" />
<page type="page03,page05,page07" bleed="3" margin="3" width="206" height="206" gutter="3" />
</set>
</definition>
Definition:
Pages = Starting number of pages, with the minimum no of pages and maximum being defined. In addition to this please define when adding pages the no of pages that should be added.
DPI is the output DPI, with minimum DPI being the min DPI for images. output is "vector" for PDF and "jpeg" for image
Layers
You can define layers in the editor. Options are "on" "off" or fulfilment. Fulfilment can be used for only showing elements on the production file.
Binding
Binding defines the width of the spine. This is added to the design so designs measurements should not include these measurements. In the example the spine width of 10mm will be added for all pages up to and including 48 pages with the spine expanding to 12mm from 49 to 96 pages.