Recent posts

#11
Beginner Talk / Re: Key F3 - show styles dialo...
Last post by Nermander - July 17, 2025, 07:55:32 PM
Yes, this is a bug in some 1.6.x version of Scribus if I recall correct.

I remember seeing a changelog saying the bug was fixed.
#12
Raster and Vector Graphics / Importing Images
Last post by pierruel - July 17, 2025, 07:23:41 PM
Good evening,
I hope my English can be understood ! When I import an image into an image frame, the process is incredibly slow. It takes 15, 20 or more seconds before a folder opens. And at least half a minute to import an image into the selected frame. Is there something I can do in order to have things going faster (other features of Scribus seems to run at a normal speed) ? Thank you in advance. Regards. Pierre
#13
Scripts and Plugins / Re: Scripting engine in versio...
Last post by a.l.e - July 17, 2025, 03:03:03 PM
That Scripter is in Scribus, but I doubt that it works.
And you need to recompile Scribus with that Scripter activated (instead of the "normal" one) to use it.

It has never been used and it's basically abandoned.

I have plans for creating a new engine, with a more structured API, but it's not really a high priority right now.
(I guess that I need to sit down with Jean, and find out why it does not build...)
#14
Scripts and Plugins / Scripting engine in version 1....
Last post by hjh - July 17, 2025, 12:32:32 PM
Hi

Then entry page about scripting in the wiki
https://wiki.scribus.net/canvas/Category:Scripts
mentions a new scripting engine in a note.

"The next steps will be to get the script engine to work (should already be ok)"

Is a new scripting engine working in 1.6.4? And what is new about it?

There is a documentation for Scribus version 1.5 about a scripter 2

https://scribus-scripter.readthedocs.io/en/latest/#

Does this documentation apply to Scribus 1.6.4?

--Hannes

P.S. If I evaluate the following

import scribus
document = Scripter.activeDocument
margins = document.margins
margins.top

in the console window I get an error message.


#15
General Discussion / Re: June 2025
Last post by a.l.e - July 17, 2025, 08:10:11 AM
It already happened in July:


Open tickets with pending patches:


Tickets with "simple" tasks:

Scripts to be created
#16
General Discussion / June 2025
Last post by a.l.e - July 17, 2025, 08:06:38 AM
June was a low activity month.

But we were not inactive, and a few cleaning up tasks have been performed (of course, several bugs have also been fixed!):

  • Improve the naming of the properties in the .sla file format
  • Merge of the "Infrastructure" issue tracker into the main one (and resolving or closing most of the tickets that were in there)
  • Resolving, triaging and/or closing some of the oldest tickets that were still open (we're talking about twenty years old tickets...).
#17
Scripts and Plugins / Re: new document with size A3 ...
Last post by hjh - July 16, 2025, 08:45:58 PM
Thank you prcek and Ale.

This solves the issue.

I have to pay attention that the paper size and the units for the document match
scribus.newDocument(scribus.PAPER_A3_MM, (10, 10, 10, 10), scribus.LANDSCAPE, 1, scribus.UNIT_MILLIMETERS, scribus.NOFACINGPAGES, scribus.FIRSTPAGERIGHT, 1)

--Hannes
#18
Scripts and Plugins / Re: new document with size A3 ...
Last post by a.l.e - July 16, 2025, 08:38:59 PM
btw, for examples, you can have a look at the scripts in

https://github.com/aoloe/scribus-script-repository

but i guess you already found that out, when i gave you the link to my version of the boilerplate...
#19
Scripts and Plugins / Re: Setting the border of a te...
Last post by a.l.e - July 16, 2025, 08:28:26 PM
As far as I can tell, Scribus does not have the concept of "no border".

If you set the line to 0, then you will get an "hairline" border (you can try it in the console: you will see that, then, the properties palette shows the value as "hairline").

If you look at how the text frames are created by default, you will see that the color of the border is set to "transparent".

This seems the way Scribus does "no borders"... (somehow, I always did this way, but never had any thoughts about it...)
#20
Scripts and Plugins / Re: new document with size A3 ...
Last post by a.l.e - July 16, 2025, 08:20:20 PM
Indeed, typing help(scribus) in "Script > Show Console" gives you all the commands.

You could also write a Script that you run from inside of Scribus that gets the result of help(scribus) and writes it into a text file.

You can also press F1, open the Scribus help and go to the "For Developers > Scripter API" section and browse it.
Or search for "paper_a5_mm" in there.

Finally, you can go to https://impagina.org/scribus-scripter-api/page/#constants for a description of the API that has a better search function and is a bit better organized (and, sadly, really needs an update! but i'm working on it)

Almost overkill : - )