Booklettibus
Booklettibuis is a command-line script written in php (I use PHP for scripting... it's very powerful).
booklettibus.php takes a Scribus A4 document and does booklet imposition on A3 pages.
Linux: php booklettibus.php <input file> [<output file>]
Windows: <path oh php>\php.exe booklettibus.php <input file> [<output file>]
The input file needs to be a file of Scribus >= 1.3.5 and not compressed (no sla.gz).
The script works only if the document's number of pages is a multiple of 4, the layout is double-sided, and the media size is A4.
It take all A4 pages and does imposition as an A3 booklet.
It could be easily improved to support all media size.
It works fine using my .sla document (all with the same structure automatically generated by script) but I don't know what happens using other files....
After conversion the file needs to be opened using Scribus an saved so Scribus automatically fix page attributes
(My script sets wrong PAGEXPOS and PAGEYPOS attributes for all "PAGE" tags but Scribus fixes them).
If a document contains an object placed across two pages, it won't be correctly placed after imposition.
I will be very happy, if someone wants to test the script, send me feedback or help me to improve it.
(You can use wiki discussion feature)
Download here -> [1]
Bye