Recent posts

#11
Beginner Talk / Re: How do I create a table wh...
Last post by hjh - July 11, 2025, 05:54:46 PM
I realize that it also needs to work for to character (digits) and drop caps seems only to apply for one character.

So the issue is about creating an "inner text frame" in the top left corner of the cell and have the text of the cell paragraph flow around it.

And I think I found the instructions here: https://wiki.scribus.net/canvas/Advanced_Drop_Caps
#12
Beginner Talk / How do I create a table where ...
Last post by hjh - July 11, 2025, 04:35:32 PM
Hi

For a calendar I use a table and I want the cells to have the cell number using drop caps, so that the rest of the text can be smaller and wrap around it.

How do I create a table or cell style which makes this happen?

--Hannes
#13
Scripts and Plugins / Re: Boilerplate.py does not wo...
Last post by hjh - July 11, 2025, 01:29:55 PM
The solution is to write

scribus.createText(40, 40, 100, 30, "myFirstTextFrame")


So the problem is solved.
boilerplate.py  in
C:\ScribusPortable\App\Scribus\share\samples

works fine with

scribus.createText(40, 40, 100, 30, "myFirstTextFrame")

added after "Insert code here"
#14
Scripts and Plugins / Re: Boilerplate.py does not wo...
Last post by hjh - July 11, 2025, 12:09:26 PM
However if I insert

````
createText(40, 40, 100, 30, "myFirstTextFrame")
````

After "Your code goes here" and run it on a new document I get an error message that 'createText' is not defined.


So I am looking for a boilerplate.py which operates on a new blank document and inserts a single text frame.
#15
Scripts and Plugins / Re: Boilerplate.py does not wo...
Last post by hjh - July 11, 2025, 11:56:38 AM
I found a correct version of boilerplate.py  in
C:\ScribusPortable\App\Scribus\share\samples
and copied it to
C:\ScribusPortable\Data\Scripts
#16
Scripts and Plugins / Boilerplate.py does not work i...
Last post by hjh - July 11, 2025, 11:26:15 AM
Hi

The boiler plate script given on the wiki at https://wiki.scribus.net/canvas/Boilerplate.py
does not work even if there is no change.


The error message is

````
Traceback (most recent call last):
  File "<string>", line 11, in <module>
  File "<string>", line 11
    except ImportError,err:
                      ^
SyntaxError: invalid syntax
````

The same thing happens with https://wiki.scribus.net/canvas/Scripter/Snippet/Main

How can I fix this?

Regards
Hannes


P.S. The wiki page https://wiki.scribus.net/canvas/Boilerplate.py was last edited 10 years ago an applies to version 1.4.0
(retrieved from 1.4.0 rc6 script directory)
#17
Free discussion / XKCD
Last post by AdmFubar - July 10, 2025, 06:43:48 PM
#18
Scripts and Plugins / Re: Searching for a calendar s...
Last post by hjh - July 10, 2025, 04:03:37 PM
Quote from: forest_bear59 on January 08, 2023, 05:21:59 PMIn the meantime I have programmed the desired solution.

It works like intended. I have added the functionality to start calendar creation at any desired month (f.ex. to make a calendar starting Juli 2023 until June 2024). Still there are some restrictions (only DIN A3 landscape orientation and no good input routine) so some work still has to be done.
If someone is interested I'll post my solution here when it's 'presentable'.

Stephan

Hi Stephan

I am interested in your script covering a different type of calendar than the one which comes with the calendar wizard and the ones done by Rafferty.

Is it possible to get your code even if it is not "presentable". I am ready to improve it in case of necessity. It is easier to start with something working for me rather than start from scratch.

Regards
Hannes

------
Here are the links to the existing calendar scripts I found so far

## Calendar wizard
built in
gives a good 12 page calendar with image on top

hacking the built in calendar script
https://wiki.scribus.net/canvas/CalendarWizard



## Yearly calendar

https://github.com/RaffertyR/Year-Calendar-Script-for-Scribus


## Monthly calendar
to put in the scripts directory
https://github.com/RaffertyR/Monthly-calendar-script-for-Scribus
dev notes
https://forums.scribus.net/index.php?topic=3495.0
#19
Linux / Re: Customize Toolbar
Last post by a.l.e - July 09, 2025, 05:53:41 PM
yes, there are (rather concrete) plans in this direction.

probably, the first thing will be to allow starting scripts from the toolbar.
#20
Beginner Talk / can't edit document
Last post by PelesDaughter - July 09, 2025, 05:45:35 PM
Hi Y'all. I just recently had a problem solved of not being able to open the program beyond the task bar (https://forums.scribus.net/index.php/topic,6240.0.html), which is awesome, but it seems there is a cascade of issues happening. Upon being able to open my document, I am finding that I cannot do anything. I can't click on text boxes to activate or edit them, move them around, or anything else. The "hand" icon moves around, but when I click, nothing happens. It is as though the program is in "read only" mode. Yet, upon using the help function for "read only" nothing came up, and searching the options under Edit and clicking on and off "item action mode" nothing happens either.

Does anyone have any ideas?