View Issue Details

IDProjectCategoryView StatusLast Update
0016257ScribusImport / Exportpublic2020-10-08 15:19
Reportermara004 Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
Status newResolutionopen 
Product Version1.5.6.svn 
Summary0016257: Export from command-line and create export profiles
DescriptionI think it would be helpful to be able to export Scribus documents from the command line if you have a lot of separate files to be exported (this might save time in some use cases). Since the options for PDF export are too numerous and complex to be configured from the command line, I would suggest to do the configuration using the graphical utility and save the preferences as a profile file, which can then be used as configuration for command-line export.

The command line argument could look like this:
-e / --export EXPORT_PROFILE
Examples:
(a) scribus -e "profile_1" "Newspaper_p1.sla" "Newspaper_p2.sla"
(b) scribus -e "profile_A" "Article_A.sla" -e "profile_BC" "Article_B.sla" "Article_C.sla"

Attached are two quick drafts of how I imagine this profile management in the Export dialogue. Probably it would also need to be added to the PDF Export section in the global and document setting in a similar way.
Tagsexport, new feature, preferences
PatchNo

Activities

mara004

2020-10-02 20:52

reporter  

manage_profiles.png (100,144 bytes)   
manage_profiles.png (100,144 bytes)   
normal_dialogue.png (105,052 bytes)   
normal_dialogue.png (105,052 bytes)   

jghali

2020-10-02 22:33

administrator   ~0048125

You can already export via command line using python scripts:
https://wiki.scribus.net/canvas/Command_line_scripts
https://wiki.scribus.net/canvas/Command_line_scripts#Full_.27export_document_to_PDF_with_options_for_the_PDF_type.27

ale

2020-10-04 15:05

manager   ~0048126

the need for the profile storage is real, but i'm not sure that adding a new "bar" below the dialog is the right way to do it.

i would suggest to put the buttons in the general tab or add a tab with all the UI for managing the PDF export profiles.

mara004

2020-10-08 15:19

reporter   ~0048144

Yeah, maybe a different way of implementing it is better. I just suggested this "bar" because it is similar to how keyboard shortcut profiles are managed.

Issue History

Date Modified Username Field Change
2020-10-02 20:52 mara004 New Issue
2020-10-02 20:52 mara004 Tag Attached: export
2020-10-02 20:52 mara004 Tag Attached: new feature
2020-10-02 20:52 mara004 Tag Attached: preferences
2020-10-02 20:52 mara004 File Added: manage_profiles.png
2020-10-02 20:52 mara004 File Added: normal_dialogue.png
2020-10-02 22:33 jghali Note Added: 0048125
2020-10-04 15:05 ale Note Added: 0048126
2020-10-08 15:19 mara004 Note Added: 0048144