Scribus Forums

Scribus => Text and Typography => Topic started by: ehbowen on December 30, 2023, 10:54:23 AM

Title: I can't seem to get the Widow and Orphan suppression to work
Post by: ehbowen on December 30, 2023, 10:54:23 AM
I'm setting a novel-length manuscript into Large Print format, and one of the guidelines is the necessity to suppress widows and orphans. I have the text styles set for "Body Text LP" (Large Print) with 18 point Liberation Sans type on 22 point leading and widow/orphan suppression set on 2 lines/2 lines. However, there are multiple instances of orphans in the document. How do I suppress these?
Title: Re: I can't seem to get the Widow and Orphan suppression to work
Post by: PatJr on December 30, 2023, 02:46:09 PM
dunno, maybe you can post a sample file? try different settinging to see if widow/orphans is working on other settings?

post back if you find the soulution
Title: Re: I can't seem to get the Widow and Orphan suppression to work
Post by: a.l.e on December 30, 2023, 03:29:39 PM
some time ago i've created a python script that can create a table of contents based on paragraph styles:

https://github.com/aoloe/scribus-script-repository/tree/master/table-of-contents

here you can read about some more details:

https://forums.scribus.net/index.php/topic,4480.msg21019.html
Title: Re: I can't seem to get the Widow and Orphan suppression to work
Post by: ehbowen on December 30, 2023, 03:52:20 PM
Quote from: PatJr on December 30, 2023, 02:46:09 PMdunno, maybe you can post a sample file? try different settinging to see if widow/orphans is working on other settings?

post back if you find the soulution


How do I attach a sample file here? I'm not seeing a typical attachment command.
Title: Re: I can't seem to get the Widow and Orphan suppression to work
Post by: a.l.e on December 30, 2023, 04:51:01 PM
You need to use the [Reply] button and not use the the Quick Reply text area at the bottom of this thread...

Then, you can click on "Click or drag files here to attach them." to pick the files you want to upload.
Common image formats and .sla files should be whitelisted.
Title: Re: I can't seem to get the Widow and Orphan suppression to work
Post by: ehbowen on December 30, 2023, 05:10:53 PM
Quote from: PatJr on December 30, 2023, 02:46:09 PMdunno, maybe you can post a sample file? try different settinging to see if widow/orphans is working on other settings?

post back if you find the soulution


Thank you, @a.l.e . Screenshot and sample file are attached; orphan example is at the top of page 10 as rendered on my machine (Ubuntu Studio 22.04 running Scribus 1.5.8 ).
Title: Re: I can't seem to get the Widow and Orphan suppression to work
Post by: a.l.e on December 31, 2023, 07:45:25 AM
do you want good news?

it's very likely that this year too, there won't be a new scribus released with this bug in it...

anyway, the behavior you noticed has been "documented" more than 10 years ago in

https://bugs.scribus.net/view.php?id=10779
Title: Re: I can't seem to get the Widow and Orphan suppression to work
Post by: smallfreak on March 15, 2024, 10:19:29 PM
Just to keep record:

v 1.6.1 and still problems.

"Do not split paragraphs" along with "keep with next" and "Orphans/Widows = 2" on the next one does still break to the next column between the heading and the text. :-(