Recent posts

#51
General Discussion / Re: Latest scribus svn in wind...
Last post by a.l.e - November 02, 2025, 02:38:40 PM
Do you manage to run other GUI programs from the WSL?

Have you tried the Scribus Appimage?
#52
General Discussion / Re: Latest scribus svn in wind...
Last post by marce colina - November 02, 2025, 01:25:25 PM
I have it running in a VM with Mint, great. But WSL apps are more handy.
#53
General Discussion / Re: Tables
Last post by a.l.e - November 01, 2025, 10:29:09 PM
So, I had a look at what the scripter can do with paragraph styles and tabs.

I think that I have good news:

scribus.createParagraphStyle(name='table_2', tabs=[(50),(70, 1),(100)])
Will set the tabs for the style table_2 at the position 50, 70, 100.
If the style already exist, it will update the position of the tabs.

You can define left, center and right tab with that.

I've now created a script that uses the text in a (non printable) text frame to define tabs in styles:

https://github.com/aoloe/scribus-script-repository/tree/master/tabs_definer

""" Define tabs in styles, based on the content of non-printable text frames

For details see the README file.

(c) MIT ale rimoldi"""

try:
    import scribus
except ImportError as ex:
    print('\nThis script must be run from inside Scribus\n')
    raise ex

def show_error(message):
    scribus.messageBox('Scribus - Script Error', message, scribus.ICON_WARNING, scribus.BUTTON_OK)

def main():
    tabs_aligment = {'l': 0, 'r': 1, '.': 2, ',': 3, 'c': 4}
    if not scribus.haveDoc():
        show_error("No document open")
        return

    if scribus.selectionCount() != 1 or scribus.getObjectType() != 'TextFrame':
        show_error("You need a text selection")
        return

    current_unit=scribus.getUnit() #get unit and change it to mm
    scribus.setUnit(scribus.UNIT_MILLIMETERS)


    text_definition = scribus.getAllText()
    for style_text_definition in text_definition.split('\n'):
        style_definition = style_text_definition.split(',')
        style_name = style_definition[0]
        style_tabs = []
        for tabs_definition in style_definition[1:]:
            tabs = tabs_definition.split(':')
           
            position = int(tabs[0]) if tabs[0].isdigit() else float(tabs[0])
            # the tabs position is always in pt
            position = position * 2.835
            align = 0 if len(tabs) == 1 else tabs_aligment[tabs[1]]
            style_tabs.append((position, align))

        scribus.createParagraphStyle(name=style_name, tabs=style_tabs)

    scribus.setUnit(current_unit)

if __name__ == "__main__":
    main()

tabs_definer.gif
#54
General Discussion / Re: Tables
Last post by AdmFubar - November 01, 2025, 10:22:36 PM
would a short height multi column text frame work for this? You would have to make one for each line, the duplication function might make it easier to create them.
#55
General Discussion / Re: Potential new users incomi...
Last post by AdmFubar - November 01, 2025, 10:11:23 PM
Quote from: PastaShock on November 01, 2025, 06:12:35 PMWell, the news dropped. Canva merged Designer, Photo, and Publisher into one app just called "Affinity." They made is completely free, with an optional subscription to get AI features. A lot of people are very skeptical about this, claiming (as is usually the case) that when something is free, YOU ARE the product.

uhm in case you've not noticed, even when you pay for a product.. you are still the product..
#56
General Discussion / Re: Is there a way to make a "...
Last post by AdmFubar - November 01, 2025, 10:08:57 PM
would adding an outline to the font achieve the medium look you want?
#57
General Discussion / Re: Tables
Last post by PastaShock - November 01, 2025, 08:05:56 PM
Quote from: Nermander on November 01, 2025, 07:33:54 PMYou could import the PDF page into a separate "help layer", adjust the opacity and create your content on top of it. When you are done you can just delete the "help layer".

That's a good idea.
#58
General Discussion / Re: Tables
Last post by Nermander - November 01, 2025, 07:33:54 PM
You could import the PDF page into a separate "help layer", adjust the opacity and create your content on top of it. When you are done you can just delete the "help layer".
#59
General Discussion / Re: Is there a way to make a "...
Last post by Nermander - November 01, 2025, 07:31:26 PM
Scribus can't make any fake versions at all of fonts. Not even bold or italic.
#60
General Discussion / Re: Potential new users incomi...
Last post by PastaShock - November 01, 2025, 06:12:35 PM
Well, the news dropped. Canva merged Designer, Photo, and Publisher into one app just called "Affinity." They made is completely free, with an optional subscription to get AI features. A lot of people are very skeptical about this, claiming (as is usually the case) that when something is free, YOU ARE the product.

I watched the Canva keynote out of curiosity, and when they announced Canva AI (available both in the online Canva suite and Affinity), almost nobody applauded. The hosts on the stage had to coax the audience into applauding.

Canva is doing major damage control trying to convince creatives that they're not the product and they're doing this for the good of the creative community.

We'll see what comes of this mess.