(v13) HqnImpose2 FromList tactic
This page applies to Harlequin v13.1r0 and later; both Harlequin Core and Harlequin MultiRIP.
The pages are assumed to be laid out in a regular, rectangular grid with uniform sizes in the same way as they are for /RightToLeft
and so on. The order of pages within the grid is, however, defined by a pre-generated list. The list may be supplied in the call to HqnInitImpose
, but it is created by an objective in most cases (for example, in the way that the /Halved
objective does).
The list is stored in a dictionary called PageOrder
with integer keys in much the same way that the PageList
dictionary uses the /PassThrough
objective. In this case each value is a two-element array where the elements are x-position and y-position, where page [0 0]
is the top left corner of the sheet.
Such a dictionary might be of the form:
/PageOrder <<
0 [ 0 0 ]1 [ 1 1 ]2 [ 0 1 ]3 [ 1 0 ]
>> def
The PageOrder
dictionary must be in global VM.
1 | 4 |
3 | 2 |