[scribus] perl with scribus

Louis Desjardins louis.desjardins at gmail.com
Wed Mar 30 15:38:12 CEST 2011


2011/3/30 Gregory Pittman <gregp_ky at yahoo.com>

> On 03/30/2011 12:33 AM, srikrishnan wrote:
>
>> Hi All,
>>
>> Is it possible to use perl script in Scribus?
>>
>
> What we've seen so far are perl scripts that work outside of Scribus, such
> as the one to shrink the size of a PDF made with Scribus.
>
> My first iteration of making a Scribus document from a directory of images
> was written in Perl, and simply generated an SLA file that Scribus could
> use. It was clumsy, but it worked. Of course, every time there was an update
> to the file format, it might require some changes, although of course
> Scribus is always backward-compatible with older file formats.
>
> I have to say, I still like the way that Perl can manipulate data and
> strings better than Python.
>

Hi,

>From last LGM I recall this presentation:

Markus Holland-Moritz also discussed book production in his talk, which
outlined the self-publishing of his photographic book about traveling
through New Zealand. Holland-Moritz's book is primarily images; in the
process of developing it he used Perl to custom-process several repetitive
tasks and produced useful patches to Scribus that have since been integrated
in the project's trunk. One is an image cache, which reduced the
sixteen-minute wait he initially experienced when opening the 2.6-gigabyte
Scribus file down to 20 seconds. The other is per-image compression
settings; previously Scribus allowed document creators to select a lossy or
lossless image compression when producing PDF output, but Holland-Moritz
needed to specify different settings for his photography and graphical
images. The process also led him to develop a custom text markup language
based on TeX and an accompanying Scribus import filter. (Contributed by Nate
Willis)

Source: http://lwn.net/Articles/390572/

Louis

>
> Greg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scribus.net/pipermail/scribus/attachments/20110330/13bfb16a/attachment.htm>


More information about the scribus mailing list