[scribus] Using scribus to create PDFs from the commandline
ale.comp_06 at xox.ch
Mon Jul 21 08:18:14 UTC 2014
if you have a scribus running on your machine, it should not be that
hard to get it to communicate with an external script. you just need the
right python skills (and eventually a little patch to scribus)
(this has been done in the past as an art project: get two instance of
scribus synchronize through IRC...)
what is not yet possible, is to start scribus without a GUI.
there are some efforts going on in that direction, but no solution in
sight for the near future.
(on the other hand, help is welcome!)
> Am 21.07.2014 um 01:52 schrieb Gregory Pittman <gpittman at iglou.com>:
>> On 07/20/2014 01:26 PM, Marc Balmer wrote:
>>> Currently we use LaTeX to produce PDF from the commandline (or rather, from within our applications). We run a scrip that creates a LaTeX sourcefile, fires up latex, and returns the resulting PDF.
>>> I am now trying to find out if that would be possible with Scribus somehow. E.g. we would fire up scribus with the name of a Python script and the name of document. The script would then populate the document with data and output it to PDF.
>>> Is that possible? Can we run a Python script at startup, or, can we run python and start Scribus from within? Or, in other words, are there ways to automate Scribus without user interaction, i.e. from the commandline?
>> Though perhaps not as automated as you are suggesting, you can certainly create documents from scratch following some preset pattern.
>> One example is this one:
>> which is some years old, and others have made their own versions for their own needs.
>> There is also this:
>> a version of which I use almost every day.
>> Each of these makes a document from scratch, the first makes as many pages as needed, the second only a single page.
>> As far as I know PDF export in Scripter has not been implemented. There is a long-standing request to have Scribus run from the command line to perhaps do some of what you are suggesting.
> Thanks for the examples.
> If I got that correctly, there is currently no way to do what I want, i.e. I have to call the scripts from the menu.
> Not, I don't want to create documents from scratch, but merely fill templates with proper data (some sort of database publishing).
> Scribus Mailing List: scribus at lists.scribus.net
> Edit your options or unsubscribe:
> See also:
More information about the scribus