Recent posts

#1
Scripts and Plugins / Setting the border of a text f...
Last post by hjh - Today at 03:19:43 PM
Hi

how do I set the border of a text frame? For example to 'none'?

I dot not find anything related to this in the API documentation.
https://impagina.org/scribus-scripter-api/frame-properties/

Maybe I have to create a customlinestyle

https://impagina.org/scribus-scripter-api/other-style/#createcustomlinestyle

and assign it to the text frame? But how would I do that?


Or just set the line width to 0?
https://impagina.org/scribus-scripter-api/frame-properties/
setLineWidth(width, ["name"])
--Hannes
#2
Scripts and Plugins / Re: new document with size A3 ...
Last post by hjh - Today at 11:34:53 AM
Solution

Use
scribus.PAPER_A3_MMinstead of
scribus.PAPER_A3
Where do I get a list of all the possible values?
#3
Scripts and Plugins / new document with size A3 land...
Last post by hjh - Today at 11:14:46 AM
Hi

I want to create a new document in size A3 landscape with the code inserted below.
I get a document which is more than 1 meter wide. What am I missing here?

--Hannes

# encoding: utf-8
#
# (c) CC0, Public domain
#
# Boilerplate for Scribus scripts with creation of a new document
#
# For details see the README file.

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

def main():
    # Replace the following line by your code
    scribus.newDocument(scribus.PAPER_A3, (10, 10, 10, 10), scribus.LANDSCAPE, 1, scribus.UNIT_MILLIMETERS, scribus.NOFACINGPAGES, scribus.FIRSTPAGERIGHT, 1)

if __name__ == "__main__":
    main()

P.S. I got the newDocument command from
https://wiki.scribus.net/canvas/Elementary_Rectangle

There is also https://impagina.org/scribus-scripter-api/page/
But it does not contain examples.
#4
Scripts and Plugins / Re: Boilerplate.py does not wo...
Last post by hjh - Today at 10:23:40 AM
Thank you Ale


I updated https://wiki.scribus.net/canvas/Boilerplate.py

--Hannes
#5
Beginner Talk / Re: why the order of the layer...
Last post by utnik - Today at 12:10:26 AM
in addition to ale's advice you need to use a more recent version of scribus. in the old 1.4.x-versions the master pages have been single layer backgrounds.
if you use a scribus version from the last ten years (1.5.x or higher – the actual stable version is 1.6.4...), the master pages will support different layers and you may put the pagination on the second layer of the mp and your images on the lowest layer of the actual document page...

utnik
#6
PDF Generation / Re: Can Scribus create a SEARC...
Last post by MGD4me - July 15, 2025, 09:09:03 PM
While viewing the PDF, enter 'CTRL' + 'f' to open a popup 'find' window.

Standard Windows shortcut.
#7
Beginner Talk / Re: How Add Inteface Themes
Last post by a.l.e - July 15, 2025, 07:49:14 PM
I agree that with little effort, you got a big (and nice) change.

I still don't get, how you did activate a specific QSS style sheet.
Did you modify the Scribus source code?
You have just put the file next to the Scribus executable?

Personally, nowadays I'm so used to have each application with a different look and feel that I wouldn't care to tweak the UI to my like, but would love each application to be consistent, nice and usable.
But I understand that other people care much more about the overall theming...
And from what you have shown here, I think that it would be a good thing for Scribus to support both default themes based on QSS and allow users to pick their own (without the Scribus needing to care about tweaking and maintaining them!)
#8
Beginner Talk / Re: why the order of the layer...
Last post by a.l.e - July 15, 2025, 07:43:20 PM
did you also let chat gpt write the question for you?

anyway, the answer to the question you're asking is in the title you have set for this thread.
up to the "not", which is wrong.

so:

the order of the layers is movable.

so:

put the page number and the content on different layers and put the layer with the page number on top of the layer with the content.
#9
Beginner Talk / why the order of the layer is ...
Last post by AFournier - July 15, 2025, 06:51:17 PM
EXAMPLE why master pages and grids are not movable to the front of the composition?

I use Scribus 1.4.8 for editing a whole pages graphic iconography catalogue and I wanted to use automatic numbering pages at the bottom center of every page.
It was already a nightmare to find a readable tutorial for automatic numbering a 70 pages book (it took me 1h30 to understand, all those tutos are confusing, do better please). I created a master page and applied it in the whole document....AND....
The numbers are hidden under the images  >:(
Another hour asking "how to move the master pages in the front" everywhere, nothing. I finally ask Chatgpt, it tell me "Scribus doesn't allow to move the master page from the background."

OK, I have to INSERT MANUALLY every single 70 numbers .... in the center of the page BUT  ???
the grid is BESIDE THE IMAGE!!!
I don't know WHERE IS THE CENTER OF THE PAGE!

My question is: why can't we choose if we want those (or anything for that matter) in the front?
Thank you, I have to go back editing manually every single number now...
#10
PDF Generation / Re: Can Scribus create a SEARC...
Last post by utnik - July 15, 2025, 06:05:36 PM
hi hanna

as prcek suspected, if you embed the fonts (full fonts or subsets) the .pdf file will contain searchable text while outlined text just looks like text but is (technically spoken) just a vector graphic.

utnik