[scribus-dev] Need help with python script
JLuc
jluc at no-log.org
Wed Dec 17 21:11:33 UTC 2014
Hello
great project !
In http://wiki.scribus.net/canvas/Generate_a_ten_page_layout_with_three_columns_on_each_page
i see
newDoc((185, 250), (12, 20, 15, 28), PORTRAIT, 1, UNIT_MILLIMETERS, FACINGPAGES, FIRSTPAGELEFT)
I'm not sure it fits your needs but you might find what you look for
in other available public scripts ?
JL
Le 17/12/2014 19:47, John Culleton a écrit :
> I have taken the script spine.py as a starting
> point and am creating a new script which is
> intended to create a book cover template. It will
> serve the same function as the Perfect Bound
> Cover extension of Inkscape. Instead of just
> printing out values as the spine.py script does
> and my own perl-based online template maker does
> it will actually create the page with correct
> overall dimensions plus guides for the spine
> location etc.
>
> Since I am a USA guy I will be dealing in inches
> to the degree possible.
>
> First, is this doable from a python script?
>
> Second, after I have calculated the overall cover
> width and height what statements do I need to use
> to reset the overall width and height of the
> current document. In other words:
>
> ??? = W
> and
> !!! = H
>
> Where ??? and !!! are the addresses of the
> appropriate Scribus parameters.
>
> I need a similar address for placing a vertical
> guide on the document. There will be several of
> these.
>
> If there is a document somewhere that lists all
> the pertinent addresses used in Scribus please
> point me in that direction.
>
> I am a beginner with Python but I do have some
> years of programming under my belt. I can
> RTFM.
>
> Your assistance is appreciated!
>
More information about the scribus-dev
mailing list