Macro Language Reference > PIs > Text > <?page>
  
<?page>
Description
Permits the inline creation of pages during a format operation. The frames for the page can be sized and positioned using a variety of keywords and parameters in conjunction with other commands.
 
Example 484. Create an inline page
This example creates a new page overlay that can be applied to one or more other pages. A page must have a name to be created. This command must be the first in a page creation sequence.
<?page clear>
<?page raw dim 210, 297>
<?page name 1 "over_lay">
<?page raw overlay>
<?page create>
Syntax
<?page keyw_param:w>
keyw_param
Applicable keywords for the verb:
abs-pos
add-layer
append
apply
clear
create
current
insert
name
raw
rel-offset
rem-lay
remove-layer
resize
update
Additional Information
 
Auto frame/page verbs should always be placed consecutively without any other commands, like footnotes or anchors, in between, or successful results cannot be guaranteed.
See Technote 0057: Inline Pages and Frames for further details.
Preformat streams
Inline page commands combined with <?frame> commands and preformat streams feature enable the automated creation of entire PTC ALD documents.
Once you have set up your page / frame creation commands, carry out the following steps to complete an automated document creation cycle:
Create an PTC ALD document of 0 (zero) pages using the following syntax: tpdel 99,1
Create a reference/text stream in which you place your page and frame creation commands.
Create a preformat stream either via the dialog box under tdpref or by using the following macro: fdpref preformat "preformat_stream_name"
Reformat the document using the tformat command and your new document will be created.
* 
Do not forget that the preformat stream will have to include all new frames to be drawn as well as their associated text streams.
For more information,. see Technote 0057: Inline Pages and Frames.
Related Links