[scribus] Using scribus to create PDFs from the commandline
marc at msys.ch
Mon Jul 21 06:08:51 UTC 2014
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).
More information about the scribus