Hi, Dave:
Footnotes are not an issue for me, nor are images that span the 2 sheets of a spread.
I have your excellent script. But it doesn't solve my problem because I need to create a new document with each SPREAD on a separate page (i.e. the 2 original pages combined into 1 page), as InBooklet does.
The reason is, I have to print double-sided, and since my printer has unequal minimum top and bottom margins, the center lines on the spreads on either side of the printed sheet do not align.
My workaround for this is to create a new document with InBooklet and print it in 2 runs: (a) even-numbered spreads in landscape mode, (b) odd-numbered spreads in reverse landscape mode, reverse order, turning the paper appropriately when I reinsert it in the printer to do the 2nd side.
Another workaround is to export to PDF, then in Acrobat rotate either the odd or even pages 180 degrees, then print from Acrobat using my printer's duplex mode.
Is there any chance you could modify your script to create a new document, as InBooklet does?
I've used your script to impose the pages in the correct order, then tried copying one spread at a time to a new document with double width pages, but I have numbered lists, and the numbering is not preserved.
Or can you point me to some script(s) that demonstrates how to copy all of the items on a single page of the original document and paste to the left (or right) half of a double-size page in a new document? I understand the logic re selecting and pasting the pages in the right order and the correct side of the page, but the InD Scripting Help file isn't very helpful in finding the right methods and properties. It needs lots more sample code.....
I have 10+ years programming in Visual Basic, but I can also handle Java script.