Recent posts

#1
General Discussion / Re: AI generated SLA file and ...
Last post by RobinMatt111 - October 19, 2026, 12:33:47 PM
Quote from: lib on May 29, 2026, 12:29:56 PMHello!
Does anybody play with AI models for generating SLA files with the use with AI models? I have tried few times and didn't get good results. Obviously, there is no enough data for AI to be able to generate SLA file from zero.
Also, does anybody uses programming languages for creating or updating SLA files?
If so, what useful information and where can be found?


I suspect the main difficulty is that an SLA file isn't just plain text; it contains Scribus-specific XML structure, object properties, styles, and references that all need to be consistent. Rather than asking an AI model to generate an entire document from scratch, I'd start with a simple SLA file saved by Scribus and use it as a template, then have a script modify specific elements such as text frames, content, or coordinates.

Python would be a practical choice for this. Since SLA files are XML-based, you can inspect and edit them with libraries like lxml or Python's built-in xml.etree.ElementTree. The Scribus Wiki and official documentation are good starting points for understanding the file format and scripting interface. AI can help write the code, but I'd still open the result in Scribus to check for broken references or layout issues.

For repeatable documents, Scribus's own Python scripting API may be even more reliable than editing the XML directly, especially when creating or updating frames and styles. I'd be interested to hear whether anyone has built a workflow around templates and automated data import rather than generating whole SLA files from scratch.
#2
Layout Issues / Re: Is a continuous document p...
Last post by a.l.e - October 18, 2026, 05:04:48 PM
Epub would be a good format.

Scribus 1.7 should be able to export to it.

But, then, you have less control on the layout and if that's your only output, you might want to use something else than Scribus for creating your Epub : - )
#3
Layout Issues / Re: Is a continuous document p...
Last post by Nermander - October 18, 2026, 03:56:43 PM
PDF is a page oriented format, so there is likely no way you can create a PDF without page breaks. If you want something continuous you need to use some other format.
#4
General Discussion / Re: Joining lines from pasted ...
Last post by utnik - October 18, 2026, 09:06:29 AM
hi ale

thank you! saves a lot of work.

utnik
#5
General Discussion / Joining lines from pasted text
Last post by a.l.e - October 17, 2026, 07:16:07 PM
When copying text from a PDF, we often get the text line by line.

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

Today, I wrote a script that joins those lines in paragraphs.

If you copy the "scribus-script-repository" repository on your disk and add it to your script folders in "Preferences > Scripts", then you can simply run it from the Scripts menu:

join-lines.gif



Of course, you can also just copy the Python file in your own collection of scripts.

Please read the README in the folder linked above for the exact behavior of the script.
#6
Layout Issues / Re: Is a continuous document p...
Last post by Conifer1 - October 17, 2026, 06:02:35 PM
I see no option for that, see my screenshot.
#7
Layout Issues / Re: Is a continuous document p...
Last post by AdmFubar - October 17, 2026, 05:04:55 PM
i do believe that scribus can export in html, then you can just open the file in your browser locally, no web server needed
#8
Layout Issues / Re: Is a continuous document p...
Last post by Conifer1 - October 17, 2026, 11:41:58 AM
That would require a website though wouldn't it? If so, it can't be done as that requires money I don't have.
#9
Layout Issues / Re: Is a continuous document p...
Last post by Aleks100 - October 17, 2026, 10:51:30 AM
Pdf is "Images and text on page" paradigm.
It seems that you need "One page html".
#10
Layout Issues / Re: Is a continuous document p...
Last post by Conifer1 - October 17, 2026, 07:40:03 AM
I created the document in Scribus. I plan to keep it in this format for printing, but it works great on PC or mobile phone, and for this it would be good if it could be one long document without the gaps. I chose PDF because most people's phones can open PDF, but if there is another format that phones can open, then I don't see why it strictly has to be PDF.