05-18-2020, 05:32 AM | #1 |
Junior Member
Posts: 2
Karma: 10
Join Date: May 2020
Device: Kindle Touch and Paperwhite
|
Widows and Orphans
Hi all,
Can you help please? I have search the forums and not quite found what I was looking for. I have converted the book with Calibre to AZW3 and then sent this to the Kindle (Touch and Paperwhite). It is almost perfect, but has widows and orphans. So I edited the book CSS (the majority of the text is block 7 (start of chapter) and block 8 (all other paragraphs)): .block_7 { display: block; margin: 0; padding: 0 widows: 2; orphans: 2; } .block_8 { display: block; text-indent: 14.2pt; margin: 0; padding: 0 widows: 2; orphans: 2; Sadly, I still have widows and orphans. What am I doing wrong? |
05-18-2020, 05:58 AM | #2 |
The Grand Mouse 高貴的老鼠
Posts: 71,504
Karma: 306214458
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
|
Posting in the wrong place? Moved to the Kindle forum.
(I suspect that the Kindle ignores windows and orphans CSS, but an expert will be along shortly, no doubt.) |
05-18-2020, 06:20 AM | #3 |
Resident Curmudgeon
Posts: 73,966
Karma: 128903250
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
KF8 does not ignore widows and orphans. I just tested this and it worked no problem. I cannot say about Mobi or KFX.
|
05-18-2020, 06:25 AM | #4 | |
Resident Curmudgeon
Posts: 73,966
Karma: 128903250
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
I always make sure there are no windows and orphans in the CSS except for body where I have windows and orphans set to 1. This is done in ePub and when converting to KF8, it works perfectly. |
|
05-18-2020, 06:39 AM | #5 | |
ɴₐɴ
Posts: 421
Karma: 2507940
Join Date: Jun 2011
Location: 37.2N 93.3W
Device: KV PW4 PW3 PW2
|
Quote:
You need semi-colons after your padding styles. |
|
05-18-2020, 06:56 AM | #6 |
Resident Curmudgeon
Posts: 73,966
Karma: 128903250
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
05-19-2020, 02:07 AM | #7 |
Junior Member
Posts: 2
Karma: 10
Join Date: May 2020
Device: Kindle Touch and Paperwhite
|
Genius thank you! Embarrassing, but thank you. It doesn't seem to work why on my 2011 Kindle and anyway surely widows and orphans can't be completely gone with adjustable text size?
Also, why does Calibre add this: .calibre4 { white-space: pre-wrap } It causes my justification to change. Seems to randomly insert it mid word or paragraph. |
05-19-2020, 11:20 AM | #8 |
Guru
Posts: 916
Karma: 13928438
Join Date: Jan 2013
Location: Ely, Cambridgeshire, UK
Device: Kindle Oasis 3, Kindle Oasis 1
|
There is no widow/orphan prevention at all until a very recent Kindle firmware version (5.11? something like that): so older Kindles simply never do anything with this stuff.
|
05-19-2020, 11:30 AM | #9 | |
the rook, bossing Never.
Posts: 11,156
Karma: 85874891
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
Quote:
So with 1 you have the maximum occurrence of a widow or orphan. It means the bottom of the page can have as few as 1 lines of the next paragraph, or the top of the page can have as few as 1 line from the previous paragraph, so there is no "wasted space". That's why a setting of 0 has no meaning and is interpreted as 1. Changing the margins, font face, font size and line spacing only changes where paragraphs are broken across a page boundary. If you have variable blank space at the bottom of a page you are avoiding (removing) small widows & orphans. If you never have blank space, then some paragraphs will have 1 line widows or orphans. Last edited by Quoth; 05-19-2020 at 11:34 AM. |
|
05-20-2020, 04:28 AM | #10 |
the rook, bossing Never.
Posts: 11,156
Karma: 85874891
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
Just to clarify, ANY paragraph split across a page boundary has a Widow and an Orphan. These are the names of the two parts no matter if it's a Brontë 50 line paragraph split into two equal parts. The reason to have white space is that if there is an isolated one line (or maybe two) some people can lose the context when they flip the page. They might check to see (on paper) if they flipped two pages, or have to turn back. So material on paper may set a minimum of two isolated lines (or even three), thus the default in kobo and many wordprocessors of two, which is thus the minimum number of widowed or orphaned lines.
If you have poor short term memory and/or find reading difficult, you might even want 3 or 4 rather than 2 and not 1, which is really the do nothing setting. Sometimes there may runs of pages where the paragraphs happen to end at the bottom of a page, so even with 3 you'd not get the big block of white space. With 3 or 4 the blank space will be more variable in size than with 2, where it will vary as not every page break splits a paragraph and not every split paragraph has too small a widow or orphan. A dangling line at the top of the next page will cause a bigger blank gap as the entire paragraph may move to the next page. |
05-20-2020, 04:36 AM | #11 |
Resident Curmudgeon
Posts: 73,966
Karma: 128903250
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
For all those bothered by the default windows and orphans of 2, Kobo's newest firmware has hidden options to change windows and orphans default to whatever you want. So you could set them to to turn them off. These options can be overridden in the CSS.
I have seen some eBooks with windows and orphans specified as 2 for some bad reason. |
05-22-2020, 10:39 AM | #12 |
Guru
Posts: 916
Karma: 13928438
Join Date: Jan 2013
Location: Ely, Cambridgeshire, UK
Device: Kindle Oasis 3, Kindle Oasis 1
|
btw, since you seem to be saying this repeatedly and may have fallen for an old eggcorn: they're *widows* and orphans, not windows. (Or alternatively maybe it's just really hard to not type 'windows' here: I did it while writing this email. "Widow" isn't a very common word any more.)
|
05-22-2020, 05:46 PM | #13 |
Wizard
Posts: 4,742
Karma: 246906703
Join Date: Dec 2011
Location: USA
Device: Oasis 3, Oasis 2, PW3, PW1, KT
|
|
05-23-2020, 02:32 AM | #14 |
Guru
Posts: 731
Karma: 7000000
Join Date: Aug 2017
Location: Italy
Device: Kindle Paperwhite, Kobo Elipsa, Pocketbook Color PB633, Inkpad Color
|
Can You divorce from a window? Philosophical question
And Can You divorce from Your widow? another Philosophical question |
Tags |
azw3, calibre, orphans, widows |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Widows and Orphans | jhowell | Kindle Formats | 89 | 08-26-2021 10:38 PM |
Widows and Orphans | Waylander | Kobo Reader | 31 | 05-18-2020 06:54 AM |
Widows and Orphans | Calenorn | Kobo Reader | 3 | 10-21-2019 10:52 AM |
Pagebreak, widows and orphans | UncleIvor | ePub | 17 | 09-11-2015 11:12 AM |
Widows and Orphans | danrodney | ePub | 10 | 12-08-2010 02:08 PM |