Recent posts

#61
General Discussion / Re: [TOC] get an attribute dir...
Last post by a.l.e - March 19, 2024, 10:37:59 PM
i can attach my file, but it won't really show you, the few essential things you likely need to take into consideration for a "useful" TOC in scribus.

as i wrote, it would probably be helpful if you could go through:

you will then have a list of things that people actually using scribus need for creating a TOC (their feedback has been very very useful to me!) and have a rather simple reference implementation.
#62
General Discussion / Re: [TOC] get an attribute dir...
Last post by MrB - March 19, 2024, 06:52:59 PM
#63
General Discussion / Re: [TOC] get an attribute dir...
Last post by MrB - March 19, 2024, 06:39:37 PM
I also uploaded a sample file on
https://bugs.scribus.net/view.php?id=5975

Working well there

#64
General Discussion / Re: [TOC] get an attribute dir...
Last post by MrB - March 19, 2024, 06:31:42 PM
Please share those files. It looks like you have a text frame style and a style on text.
#65
Scripts and Plugins / Re: Import scribus module for ...
Last post by a.l.e - March 19, 2024, 05:29:05 PM
you cannot run python script outside of scribus.

for a start, please use "Script > Execute Script" in the scribus menus...
#66
General Discussion / Re: [TOC] get an attribute dir...
Last post by a.l.e - March 19, 2024, 04:55:01 PM
hi craig

nice start.

personally, i still believe, that the attribute TOC must go away. it adds useless complexity both in the code and in the UI.

what are your plans for further features?
the current state does not seem production ready yet : - )

toc-mrb-01.png

p.s.: you can read this thread and https://forums.scribus.net/index.php/topic,4480.0.html to find some edge cases that need to be supported... (the README and the python script might also be helpful...)

toc-mrb-02.png
#67
Scripts and Plugins / Import scribus module for pyth...
Last post by loudo - March 19, 2024, 03:34:19 PM
Hello everyone,

here's my problem: I'm making a calendar design with Scribus (version 1.6.1) by putting empty text fields that just have a property name. For example, an empty text field with the property name "year".
I'm writing a python code to modify these text fields. It will automatically fill these fields with the right dates for each day, depending on the year.
My configuration: I'm using a macOS M1 laptop, the text editor 'Visual Studio Code and I have a virtual environment and python 3.11.

How do I import the Scribus module? I can't install it.   At the moment, I'm getting an error: ModuleNotFoundError: No module named 'scribus'.

Thanks for your help.

See you soon,
Loudo

#68
General Discussion / Re: Scribus 1.7.0 is looking p...
Last post by OSDP - March 19, 2024, 01:16:00 PM
I have a computer under MX-Linux (debian based)

I have another under Windows10. This machine cannot migrate to Windows 11 (too old) so, i probably go to replace Windows 10 (when update ending) by Debian or SpiralLinux (easiest debian based) or by Manjaro, or by Opensuse Slowroll, or by Fedora (design suite)... I don't know exactly.
#69
General Discussion / Re: [TOC] get an attribute dir...
Last post by MrB - March 18, 2024, 10:55:27 PM
1.7.0.svn now has a style based TOC generator that I added this evening.
#70
General Discussion / Re: Scribus 1.7.0 is looking p...
Last post by MrB - March 18, 2024, 10:54:38 PM
Quote from: OSDP on March 18, 2024, 02:27:56 AMThanks. I love this look. I would like to test it.
Alas "only" for the development branch... and download is unfortunately no longer possible for the moment.
How many year(s) for hoping download it from stable branch ?

What OS are you running?