Split Document into Pages
Posted: 2021-01-24 04:11:31
G'day, all
We have a number of Macros (mostly thanks to Kino and Philip) that will split documents at various points (such as Page Breaks, Section Breaks and Section Headings).
What I need now, though, is a Macro that will split a document at page wraps (for want of a better term), regardless of whether or not a page concludes with a deliberately inserted Page Break.
If a Page Break is present, split there (and remove the Page Break). If no Page Break is present, split between two characters whose Page Numbers differ. Things might be a bit more complicated in this latter scenario than I have suggested, as one page may contain only an image or footnotes rather than "standard" text.
Hitherto, I would either manually insert Page Breaks where needed and then use the Split Document by Section Breaks Macro, or I would convert the Nisus document to a PDF document and then use an Automator-generated application to split the resulting PDF file into pages.
All of this is part of a page imposition scheme I have devised. The individual pages are reordered according to a Numbers spreadsheet I constructed that takes into account the number of pages in a document (with blank ones added if necessary) and the desired number of sheets per signature (which could depend on paper thickness, among other things). The reordered pages are combined into a single document for printing. The whole thing is controlled by an AppleScript script which calls the Numbers file and Nisus Macros. No doubt a single Nisus Macro could do the lot; its inclusion in the standard set would be a great asset.
For the moment, I'd be satisfied with a Split Document into Pages Macro. I hope someone can help.
Cheers,
Adrian
We have a number of Macros (mostly thanks to Kino and Philip) that will split documents at various points (such as Page Breaks, Section Breaks and Section Headings).
What I need now, though, is a Macro that will split a document at page wraps (for want of a better term), regardless of whether or not a page concludes with a deliberately inserted Page Break.
If a Page Break is present, split there (and remove the Page Break). If no Page Break is present, split between two characters whose Page Numbers differ. Things might be a bit more complicated in this latter scenario than I have suggested, as one page may contain only an image or footnotes rather than "standard" text.
Hitherto, I would either manually insert Page Breaks where needed and then use the Split Document by Section Breaks Macro, or I would convert the Nisus document to a PDF document and then use an Automator-generated application to split the resulting PDF file into pages.
All of this is part of a page imposition scheme I have devised. The individual pages are reordered according to a Numbers spreadsheet I constructed that takes into account the number of pages in a document (with blank ones added if necessary) and the desired number of sheets per signature (which could depend on paper thickness, among other things). The reordered pages are combined into a single document for printing. The whole thing is controlled by an AppleScript script which calls the Numbers file and Nisus Macros. No doubt a single Nisus Macro could do the lot; its inclusion in the standard set would be a great asset.
For the moment, I'd be satisfied with a Split Document into Pages Macro. I hope someone can help.
Cheers,
Adrian