Recent posts

#1
Beginner Talk / Re: How Add Inteface Themes
Last post by joseb - Today at 04:55:55 PM
To start testing these custom QSS styles you can generate a generic shortcut on your Windows desktop and give it the following path:

'C:\Program Files\Scribus 1.7.1.svn\Scribus.exe' --style=Fusion --stylesheet='C:\...\250712_SCRIBUS_Custom-dark.qss'

*Edit the path to the Scribus executable and the path to the QSS folder depending on where it is located on each computer.

But I think you are right and you should go for a single Scribus interface.
Discard the possibility of creating many themes now and focus only on one. Create a solid 'base' and maybe consider in the future having users add custom interface themes.

Although applying these custom QSS styles has made me reflect on the Scribus interface and how it is approached. In the following posts I will try to make some suggestions for future versions of Scribus and its interface.
#2
Scripts and Plugins / Re: new document with size A3 ...
Last post by prcek - Today at 04:50:40 PM
I would try running
import scribus
help(scribus)
in python console
#3
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
#4
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?
#5
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.
#6
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
#7
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
#8
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.
#9
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!)
#10
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.