Booklettibus

From Scribus Wiki
Revision as of 16:24, 4 December 2009 by Ziotibia (talk | contribs) (Utility booklettibus - A3 booklet imposition from A4 pages)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Booklettibuis is a command-line script written in php (I use PHP for scripting... is very powerful).

It take a scribus A4 document and do 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>]


Input file need to be a file of scribus >= 1.3.5 and in plain text (no sla.gz).

Script work only if documend has a page number multiple of 4 and double-sieded layout, media size A4.


It take all A4 page and do imposition as A3 booklet.

It could be easily improved to support all media size.

It work 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 file need to be opened using scribus an saved so scribus automatically fix page attributes

(My script set wrong PAGEXPOS and PAGEYPOS attributes all tag "PAGE" but scribus fix they).


If document contain an object placed across two pages, it will be placed in a wrong place after imposition.


If someone want to test it, send me feedback or help me to improve script I will be very happy.


Download here -> [1]


Bye