Recent posts

#1
Free discussion / two new editors coming soon
Last post by AdmFubar - December 11, 2025, 10:39:53 PM
#2
Scripts and Plugins / Re: DeepL Translation Script f...
Last post by bastiaanw - December 10, 2025, 10:28:49 PM

Hi,

Update: Scribus Automated Translation Script – Version 0.10

What's new in v0.10
• Expanded language support
Additional languages have been added, including several non-Latin scripts. This improves coverage for multilingual layout projects and ensures broader accessibility.

• Improved interface and usability
The script now provides a clearer, more intuitive workflow, making it easier to select languages, configure options, and run translations without manual adjustments.

• Better formatting preservation
We enhanced the logic that handles styles, spacing, and text attributes. The script now keeps more of the original Scribus formatting intact during translation, reducing cleanup time.

• More reliable DeepL integration
A cleaner, more robust DeepL request/response handling has been implemented. Error handling is improved, and support for larger text blocks is now more stable.

What's next
I am are currently working on additional refinements, including better support for right-to-left languages and more advanced formatting retention.

If you have suggestions, issues, or ideas for future improvements, feel free to share them.

Bastiaan
#3
Scripts and Plugins / Re: Create Character Style tha...
Last post by wu5ch31 - December 08, 2025, 11:11:04 PM
Good evening,

Thanks for your replies! I think Bastian's approach with templates is my best option. Unfortunately I cannot code, so no way to hack the Scripter API. And no, calling a few simple functions from a Python module is not coding  ;) Otherwise, there would be a few things I could look at, like paragraph styles with lists...

BR
Jens
#4
Showcase / Re: Inside my first book - Cat...
Last post by IanicM - December 08, 2025, 10:25:06 PM
Thanks! I should be posting about my newest project soon. Again, all created within Scribus.
#5
Scripts and Plugins / Re: greps – new version (v1.5)
Last post by a.l.e - December 08, 2025, 09:31:31 PM
As AdmFubar already reported, I also have issues with the dialog.

It does not (really) close, leaves artifacts behind it when moving the dialog (but this -- i think -- also happens with the dialog I have created), and after finishing to replace left Scribus idle, impossible to close it, without killing it.

It's a huge script, but one day I might have a look at it and try to find out the reasons why it does not work on some computer...

Anyway, it's a good start! Congrats.
#6
Scripts and Plugins / greps – new version (v1.5)
Last post by richard-cdbox - December 08, 2025, 09:14:22 PM
New features:

Searching and replacing across the entire document (footnotes are included)
Searching and replacing inside tables
Safe ungrouping of grouped text frames

https://github.com/richard-cdbox/greps/releases/tag/v1.5
#7
Scripts and Plugins / Re: Create Character Style tha...
Last post by a.l.e - December 08, 2025, 09:12:27 PM
If you need complex styles (hierarchies), I think that working with a template is the best approach.

Of course, the scripter API does not let you create a document based on a template, so some more thoughts and prayers are needed here.

No idea if it would a feature that is easy to add.

I've now created a patch for setting a parent when creating the character and paragraph styles:

https://bugs.scribus.net/view.php?id=17706

Btw, creating patches for the Scripter API is a good way to get started with hacking on Scribus : - )

Creating the linked patch was for sure easier than trying to figure out how to create or modify a style directly in the .sla...
#8
Scripts and Plugins / Re: Create Character Style tha...
Last post by bastiaanw - December 08, 2025, 08:16:22 PM

Hi,

As far as I can tell the Scripter simply doesn't expose the "Based on:" option for character styles at all. createCharStyle() has no parameter for setting a parent, and that parent (CPARENT) you see in the .sla XML just isn't reachable from Python.

The features="inherit" part is a bit confusing. It doesn't create a parent style. It only applies the parent's font features if a parent already exists.
Since the style you create in Python has no parent, there's basically nothing to inherit from, so nothing happens.....

Right now the only workarounds are (I think):

make the style hierarchy manually in a template .sla and just use the styles from Python
or load them from another .sla with loadStylesFromFile(), which keeps the "Based on" relationships
anything else means editing the .sla XML by hand afterwards (not ideal and a bit fragile)

Hopefully they expose this in the API one day, because it feels like half the style system is missing from Scripter.
#9
Scripts and Plugins / Create Character Style that is...
Last post by wu5ch31 - December 08, 2025, 02:37:03 PM
Hi everyone,

just signed up here because of I would need some help. Within a Python script, I am trying to create a character style that is based on another, already existing character style.

When using the normal GUI, the process is clear, simply select the 'parent' style in the 'Based On:' dropdown list in the Style Manager. But how do I achieve it with a Python script? scribus.createCharStyle() has no obvious parameter for that. There is the string 'inherit' for the features parameter, but I have no idea what it does.

I tried:

•features='inherit'
-> does nothing obvious, unsurprisingly
•features='inherit parentstyle'
-> does nothing, too


Anybody able to help me out?

BR
Jens
#10
Text and Typography / Re: Scribus wants to subset a ...
Last post by PastaShock - December 07, 2025, 08:31:31 PM
Quote from: AdmFubar on December 03, 2025, 04:52:40 AMI have a feeling that the restart of scribus is all that is needed. somewhere the font reference  wasnt removed from memory.

Tried that. It did not work.