Recent posts

#51
General Discussion / Re: Do you use cloud storage s...
Last post by AdmFubar - December 01, 2025, 03:11:33 AM
It is a concern of a number of european governments that are switching away from propriety software and cloud services as they dont guaranty data sovereignty.
#52
Text and Typography / Re: Another text formatting qu...
Last post by AdmFubar - December 01, 2025, 03:06:18 AM
Can you attach a sample document? time to look at directly.
#53
Text and Typography / Re: Another text formatting qu...
Last post by Sheba2 - November 30, 2025, 08:39:51 PM
I did that and it does not show an extra space. However, I "want" the extra space as shown on the upper one and simply cannot figure out where to adjust space between paragraphs. Looking at the edit via story editor, it shows all of them as "default paragraph"?
#54
Linux / Re: Book creation with scribus
Last post by kroben - November 30, 2025, 06:36:57 PM
I have updated scribusbook, and rewritten various bash scripts to python3. The GUI has been freed from scribus scripter code, as this combination caused instability problems. Each operation started from the GUI is now run separately, with startup scripts in bash, and scripter code started from scribus at startup. Each operation is described in the scribus document that is started.
A side effect of this is that each operation can be run directly from the command line in the terminal, or via a menu in a graphical file manager, which simplifies development and testing.

I have measured the performance in two of my Linux environments:
----------------------------------------------------------------
Testing scribusbook workflow for book scribusbook_eng (206 pages)
1) AMD Ryzen 5 3600 6-Core Processor (BogoMIPS: 7186.62) Linux Mint 22 Wilma
2) Raspberry Pi 5 16G Cortex-A76 (BogoMIPS: 108.00) Debian GNU/Linux 12 \n \l
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    AMD Ryzen 5 3600 6-Core Processor      |      Raspberry Pi 5 16G Cortex-A76
time ./book_masterpages_update_bash.sh     |
  ( real 8.323s  user 6.477s  sys 0.658s ) | ( real 24.060s  user 13.147s  sys 0.563s )
time ./book_TBD_update_bash.sh             |
  ( real 9.548s  user 7.350s  sys 0.580s ) | ( real 20.696s  user 14.671s  sys 0.415s )
time ./book_lists_update_bash.sh           |
  ( real 26.993s user 23.650s sys 0.725s ) | ( real 55.616s  user 48.519s  sys 0.643s )
time ./book_index_update_bash.sh           |
  ( real 11.624s user 9.901s  sys 0.508s ) | ( real 26.260s  user 21.492s  sys 0.352s )
time ./book_pdfs_update_bash.sh            |
  ( real 14.938s user 12.233s sys 1.000s ) | ( real 31.234s  user 24.033s  sys 0.820s )
time ./book_generate_ebook.sh              |
  ( real 4.108s  user 4.025s  sys 0.087s ) | ( real 74.004s  user 73.872s  sys 0.076s )
Time total                                 |
  ( real 75.534s user 63.636s sys 3.558s ) | ( real 231.87s  user 195.734s sys 2.869s )
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
It takes about twice as long on the Raspberry Pi compared to an AMD that is ten times more expensive.
The remarkable thing is that it takes 20 times more time to run ghostscript on the RPI.
One reason may be that some fonts were not installed, but had to be replaced during the process.

But now to the problems:
* I would like to import master pages and paragraph styles from a reference file in scribus format, but unfortunately this cannot be done via scripter.
* The scripter environment becomes unstable after a number of operations, if I mix tkinter and scripter, and I get no more information than a GUI message that scribus has crashed.

I think scribusbook is now good enough for my needs, but since there has been no major interest in the project, I am now taking a long and much-needed break, to document my projects instead. The response on the scribusbook forum reminds me of the well-listened music album of my youth, "The roaring Silence".

I would like to thank the people whose posts I was able to read on the scribus community forum. Without this help, I don't think I would have gotten over the threshold that always exists in a new environment. If you recognize some code in scribusbook, it's probably because it's your code. That's why I feel the need to return the loan, and hopefully with some interest.

Updated manual and project archive can be found at the link:
https://privat.bahnhof.se/wb187803/hygget251201/swe/scribusbook/

/kroben
#55
Showcase / Re: Importing text only but wi...
Last post by a.l.e - November 30, 2025, 05:57:34 PM
Yes, that was the way I understood it.

The way I'm approaching the other issue, is also by keeping the styles if they exist and have an option to ignore the other styles (and apply a default style).
And the local formatting your mentioning (b, i, u, sup, sub) should the only to be kept (if they differ from the style in the source document).
#56
Showcase / Re: Importing text only but wi...
Last post by Nermander - November 30, 2025, 02:06:40 PM
What you are asking for is almost important. If one author has used direct formatting and another used styles, you are saying the styles should be converted to direct formatting?

I would say you need to set up a workflow where the texts you receive are "cleaned up"/sanitized in some way.

When I worked as the deputy editor for a magazine we made at my job, I set up a whole kit of Word macros to clean up what we got from authors.
#57
Beginner Talk / Re: [SOLVED] Final line in tex...
Last post by arthropod - November 30, 2025, 11:59:04 AM
Quote from: AdmFubar on November 30, 2025, 03:41:20 AMdid you change the font for the whole document? double check the font being used, as it may be back to the Alegreya font. Scribus will default to font set in the default document template. (or current template used) right after hitting return. It can be the single most frustrating quick scribus has

This was it. Thank you so much. The font was displaying the same as the previous pages, but selecting it revealed that it was secretly Alegreya (???) and changing it back fixed the issue.
#58
Showcase / Re: Importing text only but wi...
Last post by Denis ROUQUIER - November 30, 2025, 11:43:17 AM
Thank you for your answer and thank you for directing me to

 https://forums.scribus.net/index.php/topic,6642.msg27393.html

The two questions are about text import but the situations are quite different ; in my case I have absolutely no control over the way authors name and define their styles. Authors are sympathetic but will not enter in technical discussions about styles. So I must be ready to receive texts with a great variety of styles : style names, style content, style application, and direct formatting on the text will change from one file to the next.

(I understand that this protected me from the problem seen by « henrylaw » : the imported styles never had the same name as one of my pre-defined Scribus styles).

In my case only the visual aspect of the text is meaningful ; and in fact only a part of that visual aspect : font, font size, vertical spacing, horizontal alignment as set by the author must be ignored and set according to the  « default-paragraph-style » of Scribus. Only « bold », « italic », « underlined » and « superscrit » must be kept. Right now I do this manually ; I wish it could be automated.

#59
Beginner Talk / Re: Final line in text frame n...
Last post by AdmFubar - November 30, 2025, 03:41:20 AM
did you change the font for the whole document? double check the font being used, as it may be back to the Alegreya font. Scribus will default to font set in the default document template. (or current template used) right after hitting return. It can be the single most frustrating quick scribus has
#60
Text and Typography / Re: Another text formatting qu...
Last post by AdmFubar - November 30, 2025, 03:34:23 AM
most likely the text has an extra return in it hence the blank line.
From the drop down menu select  View/Text Frames and see if Show Control Character is checked, if not select it. back to the text frame. is there a blank line? with just a line break symbol?