This example shows the use of math expressions in the APA file.
The input files, refined pages, and desired page assignments are:
Input files | 1_frontcovers.pdf, 2_intro.pdf, 3_chpt_1.pdf, 4_chpt_2.pdf, 5_chpt_3.pdf, 6_chpt_4.pdf, 7_appendix.pdf |
Refined pages | 1_frontcovers.p1.pdf to 1_frontcovers.p10.pdf |
Desired page assignments | The 10 pages from the 1_frontcovers file assigned to page positions one to 10. |
This example includes all the page assignment statements for a book that consists of seven files. The page position is calculated using the page number from the refined page name plus the number of pages in each of the preceding files.
In the Page Assignments view, the instructions are:
Refined file name | Page set name/prefix | Position | Layer |
---|---|---|---|
1_frontcovers.p | 1 | ||
2_intro.p |
| 1 | |
3_chpt_1.p |
| 1 | |
4_chpt_2.p |
| 1 | |
5_chpt_3.p |
| 1 | |
6_chpt_4.p |
| 1 | |
7_appendix.p |
| 1 |
In the Raw APA File view, the instructions are:
ASSIGN= "1_frontcovers.p[#PgPosition].pdf" "*" [#PgPosition] 1
ASSIGN= "2_intro.p[#PgPosition].pdf" "*" [#PgPosition]+10 1
ASSIGN= "3_chpt_1.p[#PgPosition].pdf" "*" [#PgPosition]+10+38 1
ASSIGN= "4_chpt_2.p[#PgPosition].pdf" "*" [#PgPosition]+10+38+516 1
ASSIGN= "5_chpt_3.p[#PgPosition].pdf" "*" [#PgPosition]+10+38+516+8 1
ASSIGN= "6_chpt_4.p[#PgPosition].pdf" "*" [#PgPosition]+10+38+516+8+30 1
ASSIGN= "7_appendix.p[#PgPosition].pdf" "*" [#PgPosition]+10+38+516+8+30+8 1