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 2_intro.p1.pdf ... 2_intro.p38.pdf 3_chpt_1.p1.pdf ... 3_chpt_1.p516.pdf 4_chpt_2.p1.pdf ... 4_chpt_2.p8.pdf 5_chpt_3.p1.pdf ... 5_chpt_3.p30.pdf 6_chpt_4.p1.pdf ... 6_chpt_4.p8.pdf 7_appendix.p1.pdf | Desired page assignments | The 10 pages from the 1_frontcovers file assigned to page positions one to 10. The 38 pages from the 2_intro file assigned to page positions 11 to 49. The 516 pages from the 3_chpt_1 file assigned to page positions 50 to 566. The 8 pages from the 4_chpt_2 file assigned to page positions 567 to 575. The 30 pages from the 5_chpt_3 file assigned to page positions 576 to 606. The 8 pages from the 6_chpt_4 file assigned to page positions 607 to 615. The pages from the 7_appendix file assigned to page positions from 616 on. |
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.pImage Added.pdf | Image Added | Image Added | 1 | 2_intro.pImage Added.pdf | Image Added | Image Added +10 | 1 | 3_chpt_1.pImage Added.pdf | Image Added | Image Added +10+38 | 1 | 4_chpt_2.pImage Added.pdf | Image Added | Image Added +10+38+516 | 1 | 5_chpt_3.pImage Added.pdf | Image Added | Image Added +10+38+516+8 | 1 | 6_chpt_4.pImage Added.pdf | Image Added | Image Added +10+38+516+8+30 | 1 | 7_appendix.pImage Added.pdf | Image Added | Image Added +10+38+516+8+30+8 | 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 |