II. DATAformTags
Developer handbook DATAformXTension © 1992-2004 www.gassenhuber.de
38
{6} *p Page
[0......]
This Tag defines the page number upon which the object will be placed or the page that will be
created.
Page number in QuarkXPress
The Tag *p describes the page number in the current document; every document, every project
or QuarkXPress file, begins with page 1. If the section start is changed, the page number on the
left bottom edge of the QuarkXPress window or at the page layout pallette of QuarkXPress
varies. This way you can easily read the document page in the current project:
The footer of the page layout pallette shows the chapter page of the selected thumbnail, page
168 in the left picture. Option-click (Alt-click) on the thumbnail shows the actual docu-
ment/project page, page 6 in the right picture. (A click beside the thumbnails shows the number
of pages in the document)
Creating new pages
If the page in the QuarkXPress document, into which the text with DATAformTags should be
imported is missing, the page or pages will be newly created. If a master page is specified with
the command {3} *P, it will be used for the new pages.
¶*T14*p20*P"Master"*$¶
creates all the missing pages up to page 20 each time with the master page Master and on
page 20 a round picture box.
Placement on the current page
If in an object the page Tag *p is missing or if it is *p0 (zero), the object will be placed on the
current page. The current page is the one which is shown as outlined on the page layout pal-
lette:
*p0 and *px
Objects with page numbers (*px) and page number zero (*p0 or missing Tag *p) can be mixed
together in one process. The following lines create one box each on pages 5 and 6 and two
boxes on the page that was current when the command was given.
¶*T3*p0*$Current page¶*T3*p6*$Page six¶*T3*p5*$Page five¶*T3*p0*x200*X400*$again
current page¶
The Tag *p0 provides the basic function that allows a layouter to work interactively with the
database. It allows him to search in the database for the objects needed in the current Quark-
XPress page, placing them in QuarkXPress and then continue working with them.
The Tag *px (with page number) is mainly used for the strongly structured catalogues.