This example shows the use of pattern matching and specification of the number of characters to be matched.
The input files, refined pages, and desired page assignments are:
Input files | BookA001.pdf, BookB002.pdf, BookC003.pdf |
Refined pages | BookA001.p1.pdf, BookB002.p1.pdf, BookC003.p1.pdf |
Desired page assignments | BookA001.p1.pdf to all page sets at position 1, layer 1. |
In the Page Assignments view, the instructions are:
Refined file name | Page set name/prefix | Position | Layer |
---|---|---|---|
| 1 |
In the Raw APA File view, the instructions are:
ASSIGN= "[%][#PgPosition].p1.pdf" "*" [#PgPosition] 1
Alternatively, you could use these instructions:
Refined file name | Page set name/prefix | Position | Layer |
---|---|---|---|
| 1 |
Note: For this instruction to work, you must specify the number of characters to be matched by the first wild card. If you don't, the editor will display the second icon in yellow, to indicate that there is an error. To specify the number of characters to be matched, enter [$:5] in the Refined Filename column before adding the rest of the page name. Or, go to the Raw APA File view and add :5 (colon, then a 5) to the [$] wild card. It should appear as shown in the ASSIGN statement below. The editor will change your entry to an icon that specifies that five characters are to be matched. To verify this, move the cursor over the icon and check the length that is listed.
The alternative instructions in the Raw APA File view are:
ASSIGN= "[$:5][#PgPosition].p1.pdf" "*" [#PgPosition] 1