[scribus] Scribus file format info

Stefano Danzi s.danzi at hawai.it
Fri Nov 27 11:21:32 CET 2009


SOLVEEEEEEEEEEEEEEEEEEEEEEED !!!!!!!
Problem was only on casting from float to string....

My script is /momentanely/ here: 
http://steno.homepc.it/files/Booklettibus.zip

Is a command-line script written in php (I use PHP for scripting... is 
very powerful).
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 nedd 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 someone want to test it, send me feedback or help me to improve 
script I will be very happy.

Bye


a.l.e ha scritto:
> i grepped through the source code, and as far as i can judge, it looks like that gYpos is used for frames which are embedded.
>
> a look at a sla i've create for testing it, doesn't contradict my impression...
>
>
> so: i guess you can safely ignore the g* values :-)
>
> ciao
> a.l.e
>   
-------------- parte successiva --------------
Un allegato HTML ? stato rimosso...
URL: <http://lists.scribus.net/pipermail/scribus/attachments/20091127/c0c7da0b/attachment.htm>



More information about the scribus mailing list