-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running Generator without GUI within Scribus #105
Comments
Hello Jeroen.
It's already available in the form off 'save' and 'load'.
The idea is: you run your project once with GUI and click 'save' in the
dialog. All active settings get thereby saved in your SLA template file.
You can then use the 'load' option in a later execution with the same SLA
template, both from GUI and CLI. The saved values are then considered as
'default', you can override them using the usual command line options.
Hope this works for you. Have a look at the documentation for more info.
Feel free to send me an improved paragraph to document this feature if it
works for you.
Berteh.
Le mer. 4 avr. 2018 21:46, jvr14115 <notifications@github.com> a écrit :
… Dear Berteh,
Is it possible to modify generator so it runs on preset values without GUI
(within Scribus, since I need to create a lot of pdfs). Can you explain how?
Kind regards
Jeroen
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#105>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/AACQVpBwjmTR102xWHN9R5efdO1qeh0-ks5tlSMngaJpZM4THY9G>
.
|
Not sure what you mean with the "load" option. Bigger issue is that the people using my template have no clue what they are doing. It needs to be fully automated and creating pdf's. I tried the to-pdf.py option, but it takes forever and the constant popping up of scribus basically blocks the computer from doing anything else. The option I am now looking for is a "hardwired" generator script that starts up with scribus.
|
|
Hello Jeroen. Did you already try the command line mode of SG? Looks to me like that could match some of your requests: https://github.com/berteh/ScribusGenerator#running-scribus-generator-from-the-command-line ... but i still found no way to generate PDF without the disturbance of Scribus freezing the computer (asked a Scribus dev at aoloe/scribus-script-repository#30). for your questions: 3: possible to minimize Scribus while running SG? no. you could use CLI to not run Scribus at all, but then would generate only the SLA documents, not the PDF, which would need to-pdf.py afterwards (at night when no one's bothered?). 2: in command line: 1: I need to think about that one. How would you see it more useful ? would it use default settings, or settings saved in the template file ? Would it be enough to simply load the projet saved values when the SG GUI is displayed... you users would then simply need to click on "generate" without changing anything. by the way: In the current Scribus API there's no way to make the pdf generation more "silent"; so that part would not be much more comfortable. Berteh. |
@jvr14115 I reported the problem with to-pdf.py not being usable because of focus theft by Kindly confirm the bug there by explaining briefly your story. It may help getting a bit of attention to it. |
Thanks for your replies. So far the fastest and easiest sollution to create the pdf fully automated would be to use a script with default values, without GUI, that starts when opening the scribus template from command line like:
|
option 1 seems feasible. |
So far I got the script adapted to my needs and let the users click "Generate". |
Hi Berteh, Now I would like the script to automatically close Scribus after the script is finished. Thanks! |
Since all values are set from the start, it would also be nice if the user doesnt have to click "Generate", but the script would simply run when opened. |
Dear Berteh,
Is it possible to modify generator so it runs on preset values without GUI (within Scribus, since I need to create a lot of pdfs). Can you explain how?
Kind regards
Jeroen
The text was updated successfully, but these errors were encountered: