
Interleaving PDF Documents
Interleaving is a way to import the pages of a PDF document into an existing PDFClerk document such that each newly imported page is inserted after the next selected page in the PDFClerk document.
Although the most common use for interleaving may be to weave the pages of two documents together in an alternating fashion (e.g. you may have two source PDF documents, one with all even pages of a booklet, and one with all odd pages, and you want to join them together into a single document with the pages in the correct order), PDFClerk allows great flexibility when interleaving documents:
- If no page is selected the new pages will be interleaved with the existing pages in the PDFClerk document, with the first new page inserted before the first existing page. Each following new page will be inserted after each subsequent existing page. If there are more new pages than existing pages the surplus pages are appended to the end of the document.
- If one page is, or all pages are selected the new contents will be interleaved starting immediately after the first selected page. If there are more new pages than existing pages the surplus pages are appended to the end of the document.
- If more than one page is selected (but not all pages) a new page will be inserted after each selected existing page. If there are more new pages than selected pages the surplus new pages are appended after the last inserted page (which is not necessarily at the end of the document).
Examples
- Regular interleaving: If you select page 1 through 4 inclusive, then interleave a four page PDF document, PDFClerk will place the first page of the document being interleaved after page 1 of the PDFClerk file, page 2 of the new document will be inserted after page 2 of the PDFclerk file, etc.
- Irregular interleaving: If you select, say, pages 2, 5, 6, 9 in the PDFClerk document and then interleave a 4 page PDF document then the first interleaved page will be inserted after page 2, the second will be inserted after page 5, the third will be inserted after page 6 and the fourth will be inserted after page 9.
This interleaving behaviour together with the ability to select alternating pages (and to thin out alternating page selections by progressively issuing the Select Alternating Pages command) can make some non-standard interleavings a quick and easy task.