Recent posts

#51
Scripts and Plugins / Re: Canons of page constructio...
Last post by richard-cdbox - November 19, 2025, 07:49:31 PM
You probably saved the copied code to a file as UTF-8 with BOM. Try saving it as UTF-8 only.
#52
Scripts and Plugins / Re: Canons of page constructio...
Last post by bastiaanw - November 19, 2025, 07:15:55 PM
Quote from: richard-cdbox on November 19, 2025, 01:29:23 PMThis Scribus script draws classical and modern page-construction canons directly into a Scribus document and automatically computes correct margins for left and right master pages. All constructions are drawn on a dedicated outlined layer on the appropriate pages (facing or single), and margins are applied with proper inside/outside mirroring.

You can find all the necessary files here: https://github.com/richard-cdbox/canons_of_page_construction

I hope this helps some of you.

I get an error opening your script.
#53
Scripts and Plugins / Re: Canons of page constructio...
Last post by richard-cdbox - November 19, 2025, 05:35:55 PM
Yes, I know that these presets are available in Scribus, but it seemed to me that for someone who does not have enough knowledge in this area, some of the names are meaningless. But that's just my opinion. I also have three presets included in my script. When I was writing it, it seemed to me that the script would not be complete if they were not there, even though they are in the presets.
 
Let's take it step by step.

Gutenberg:
In my script, it's called Page ratio canon. My name makes it clearer how the page layout is constructed. Gutenberg probably tried to approach the Golden ratio with his Bible, but he ended up closer to the page ratio.

Nine Parts
Based on the name, I knew what canon it was supposed to be, but only because I'm familiar with this field. However, I don't think an uninitiated person would have any idea what it is. That it is an Interpretation of Rosarivo on Van de Graaf's canon, where a 9 x 9 grid is used for the construction, which is easier than calculating the intersections in Van de Graaf's canon.

Golden Mean
I have no idea if this preset was supposed to have anything to do with the golden ratio, because it doesn't.

I also wanted people who use my script to know or learn about this topic. That's why I put a short description of each canon in the README and created construction layers.

I also wanted to avoid this (See the attached image).


I hope my explanation helps you understand why I made the script.
#54
General Discussion / Re: Best way to use an Illustr...
Last post by a.l.e - November 19, 2025, 02:48:53 PM
Did you try to copy paste the text from Illustrator to LibreOffice Writer or Miscrosoft Word?
From there it might get formatted into Scribus...

Just a wild idea...
#55
Scripts and Plugins / Re: Canons of page constructio...
Last post by a.l.e - November 19, 2025, 02:48:12 PM
Nice to see such a script.

... but from the README attached to your script, I would say that it does something that Scribus already has built-in.

preset-margins.png

https://gitlab.com/scribus/scribus/-/blob/master/scribus/ui/marginpresetlayout.cpp#L11
https://gitlab.com/scribus/scribus/-/blob/master/scribus/ui/marginpresetlayout.h

Not all the layouts you're proposing are there, but I'm confident that if you propose a patch implementing them, it will be accepted.
And if you need help converting your work into C++, just ask in here.
At first sight, even if it is C++, it looks almost as readable as Python code : - )

But, maybe, I did not understand correctly the goal of your script...

P.S.: We might need a nice small icon to the layouts drop down... to make it a bit more visible...
#56
Scripts and Plugins / Canons of page construction
Last post by richard-cdbox - November 19, 2025, 01:29:23 PM
This Scribus script draws classical and modern page-construction canons directly into a Scribus document and automatically computes correct margins for left and right master pages. All constructions are drawn on a dedicated outlined layer on the appropriate pages (facing or single), and margins are applied with proper inside/outside mirroring.

You can find all the necessary files here: https://github.com/richard-cdbox/canons_of_page_construction

I hope this helps some of you.
#57
General Discussion / Re: Best way to use an Illustr...
Last post by Aquilegia - November 19, 2025, 11:58:34 AM
Thanks, but I don(t have InDesign, and Illustrator does not have this format. For the moment, my best result was with EPS, but it is still not very good.
#58
General Discussion / Re: Best way to use an Illustr...
Last post by a.l.e - November 19, 2025, 10:34:40 AM
The best way to go from Adobe layouts to Scribus is to use the Adobe own .idml format.

But I'm not sure if Illustrator can export to it.

Maybe, you have to first get your work into InDesign and from there export it to .idml.

You could also check if you can copy paste your text into a LibreOffice Writer document and get it from there into a Scribus text frame.
#59
General Discussion / Best way to use an Illustrator...
Last post by Aquilegia - November 19, 2025, 09:56:55 AM
Hello,
I have to continue a job done with adobe illustrator (a newspaper layout, with a lot of text). I really would prefer to do it with Scribus, but I cannot find a way to import the file correctly.
The text can be either a very poorly transfered text from pdf, for which I have to do all the layout again, or an image. The .ai file does not open correctly at all, or just refuse to open.
What would be the best way to proceed?

Thanks a lot.
#60
Text and Typography / Re: How to make this numbering...
Last post by AdmFubar - November 18, 2025, 11:55:12 PM
Styles are your friend. Press F4 for style or look in the Text Properties (Press F3 if you dont have the content properties window open). Look for "Numbered List" in the List & Drop Caps entry.