Recent posts

#1
Scripts and Plugins / Re: textOverflows method: not ...
Last post by a.l.e - Today at 05:32:16 PM
I've made a patch to remove all traces of the argument from the code.

The docs @ impagina will be updated as soon as the update script is working again : - )

Edit: here is the link: https://bugs.scribus.net/view.php?id=18095
#2
Scripts and Plugins / Re: textOverflows method: not ...
Last post by henrylaw - Today at 04:16:53 PM
No, I'm happy that the reference to the "nolinks" argument be removed from the documentation; after twenty years it seems about right  :)

For anyone coming here trying to find out why their "nolinks" code doesn't work, I've got round it very easily by using "getLastLinkedFrame" to find the one that would show the overflow indication. One extra line of code.
#3
Scripts and Plugins / Re: textOverflows method: not ...
Last post by a.l.e - Today at 09:56:31 AM
Hi,

I've checked in the code and nolinks does nothing.

The code processed seems to have been commented out 20 years ago...

The description of the argument is a bit cryptic, and I wonder a bit what its usage could have been.
I guess it's about finding out if a text frame in a chain is already filled.

If you have a "serious" use case, I can think of the best way to expose this information...
Otherwise, we should simply remove the argument from the documentation.
#4
General Discussion / Re: Joining lines from pasted ...
Last post by a.l.e - Today at 09:03:29 AM
Indeed, depending of the content you're "joining" a set of search and replace will give you better results, since it will keep the formatting.

From a quick check, I don't think that Scribus provides access to the Search and Replace function... we will need to change that : - )
#5
General Discussion / Re: Joining lines from pasted ...
Last post by Nermander - Today at 06:51:13 AM
In MS Word I used to just do a few search and replace.

Replace all ^p with ^l.
Replace all ^l^l with ^p
Replace all (remaining) ^l with space.
Then as cleanup you can replace all double spaces with a single space. May need to run more than once.

But ok, I eventually put these into a simple Word macro.
#6
Scripts and Plugins / textOverflows method: not doin...
Last post by henrylaw - November 14, 2026, 04:00:48 PM
The documentation at https://impagina.org/scribus-scripter-api/text-frame/#textoverflows says that the 'nolinks' parameter controls whether or not Scripter will look at the whole text chain for an overflow. I have a test case which suggests that it never does so; that you have specifically to look at the last frame to find out whether or not there is text overflow.

Run the attached script (after renaming it .py!) in the attached test case document. Run it from the command line, as it uses 'print()' to report what it's doing. You should see from the messages that the 'nolinks' parameter has no effect.

Am I doing something wrong?  I'll raise a defect report if not.

Scribus 1.7.1 svn running under Linux Mint 22.3.

(PS this might be crummy Python; I've been a Perl programmer to date!)
#7
Scripts and Plugins / Re: From an AI anwer to a nice...
Last post by a.l.e - November 12, 2026, 07:48:32 PM
I could not check Grok, since it does not give any reply to unregistred people.

Then I've asked ChatGPT to give me a table with the names of Snow White's dwarfs in English, Italian, and German, and put them in a table.

I could not copy paste the table into Scribus.

But I could paste it into LibreOffice and from there copy pasted it into Scribus 1.7svn.

The result was what I expected and I just needed to tweak the width of the table and of the columns.

Anyway, with Scribus 1.7, you will probably create your table in LibreOffice Calc or Writer and then paste it into Scribus.
No Grok needed.

And we're not that far, to have Scribus to behave just as well as Writer for filling a table!

Of course, if you have data to get into the table, I would probably create a simple Python script that reads CSV and use that format to import the data into an existing table.
No Grok needed either.
#8
Scripts and Plugins / Re: From an AI anwer to a nice...
Last post by MrB - November 11, 2026, 08:03:18 PM
The development version has entirely new table formatting, copy paste etc features. Check out https://wiki.scribus.net/canvas/1.7.4_Release for more information.
#9
Scripts and Plugins / From an AI anwer to a nice for...
Last post by founder - November 11, 2026, 01:04:06 PM
Just writing a long manual for my PEGE energy sim open-source software.
Many times "Text proposal for the manual about" and to copy and edit the AI answer.
But what to do in the case of a table?
Copying text for each table cell, formatting around for an hour?
Screenshot shows my first inserted table.
Was not so perfect at the first attempt, but the script has an edit function.
After about 3 edits adjusting the column width and lines, it was in this form.
#10
General Discussion / Re: End of M$ publisher...
Last post by NorrisFByrd - November 11, 2026, 07:42:33 AM
I still have Publisher files from years back, so I get the worry. For the newsletter I switched to Scribus a while ago, and I have not missed Publisher much since, though the first layout took me ages.