Recent posts

#1
Layout Issues / Re: Strange spacing between nu...
Last post by a.l.e - December 01, 2025, 07:12:33 PM
Well, it's very likely that you / we are replying to AI generated posts.

There are multiple signs for it, but there is no load dropped yet...
#2
Layout Issues / Re: Strange spacing between nu...
Last post by utnik - December 01, 2025, 06:27:09 PM
Quote from: AmyD3 on December 01, 2025, 07:46:50 AM...so if all else fails, trying 1.5.8 or the upcoming 1.6 might be the easiest fix!
upcoming??? – scribus 1.6 was released two years ago.
if you reanimate dead threads, you should really have to say something!

utnik
#3
PDF Generation / PDF Reader
Last post by oliverthered - December 01, 2025, 03:39:29 PM
Around 5 years ago I wrote an extension to scribus that allowed for the text import with font substitution of PDF files instead of importing them as vectors. I was testing on windows at the time and suffered from a cyber attack followed by running out of disk space preventing me from logging in again then my computer eventually dyeing. As I recall I was just in the process of separating out the PDF import from it's scribus rendering so that the import tool could be used for other projects besides scribus. Pretty much everything was working in it apart from some vector graphics.

Anyhow, my computer is going in to getting fixed and I hope to resurrect the PDF reader over the Christmas and new year period ands have something ready for beta testing some time soon.

Happy holidays
#4
Showcase / Re: Importing text only but wi...
Last post by Denis ROUQUIER - December 01, 2025, 11:53:35 AM
Workflow : yes, I once had a sort of workflow ; I would duplicate the incoming file, adjust all the features of the « normal » style and copy-paste to Publisher ; in some cases it didn't work, some old fromatting would reappear ... I am not an expert in Word macros, and the incoming files are really very variable !


With Scribus, the target I am trying to reach is : a text in « default-paragraph-style » with a few characters or words, here and there, modified by direct formatting.

To achieve this I use the following method :

1)
Import the text using « copy-paste » or import-text with the « text-only » option ;
(styles from the incoming file are ignored, Scribus styles are not modified, and the text is in « default-paragraph-style »). This phase is quite simple.

2)
Scan the text and select a few characters here and there, or a few words, or a few sentences, and apply direct formatting to change them to bold or italic or ...,  to make them look like in the incoming file. The reason they appear as bold or italic in the incoming file may be because of direct formatting or because of a style ; I don't take this into account while reading the incoming file and modifying the Scribus text.

This phase may be long and I might miss some modifications. I wish it could be automated, but I see that this seems to be in contradiction with the general view (keep the styles from the incoming file as far as possible).

I can provide a short example file if needed
#5
Layout Issues / Re: Strange spacing between nu...
Last post by AmyD3 - December 01, 2025, 07:46:50 AM
That is a super weird and annoying bug, especially on something as basic as numbers!
Since the issue seems confined to a block of numbers and you mentioned copy-pasting, two quick things come to mind-
1) Many modern fonts have different styles for numbers. If the font is defaulting to 'tabular figures,' it means every number takes up the exact same width (like in a spreadsheet), which can introduce extra space depending on the number. Try looking through the font settings to see if you can switch the OpenType number features to 'proportional figures.'
2) If you type the numbers directly into the text box instead of pasting them? Sometimes a hidden character (like a non-breaking space) gets copied from the source application and causes layout chaos.
You're using older versions (1.4.x), so if all else fails, trying 1.5.8 or the upcoming 1.6 might be the easiest fix!
#6
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.
#7
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.
#8
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"?
#9
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
#10
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).