![]() |
#1 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
using widows & orphans
when reading on my Sony e-reader, I observe some level of widows & orphans control i.e. the reader will leave a line or 2 of whitespace at foot of a "page" in order to not split off the last few words of a paragraph with a page turn.
I found this disconcerting at first & would be checking my epub source code for extra linefeeds, but I've slowly gotten used to it. my questions here are 1. Do folks take the trouble to set explicit widows & orphans controls in sigil CSS & if so, what settigns do they favour ( I have seen code, but rarely) 2. is the Sony doing something that is standard for epub readers or is it a Sony specific "feature". I have no been able to find documentation for it and am not sure exactly what logic it is using. 3. what is best practice - control this in software ( CSS) or leave it for e-reader firmware to manage ? |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
I never set the orphan and widows setting in my stylesheet. A lot of readers (Sony, Nook I know for sure) have a default setting of 2 lines for both orphan and widow settings. So, when nothing is specified that is what they will use. It can be overriden within the stylesheet.
The reader that I know of that hasn't have a default setting (iBooks), will also ignore the stylesheet directive (as they ignore a lot of perfectly good code). So, a lot of readers have it automatically and some readers that don't have it will ignore the setting... I think it depends on your market and how you want the book to be handled. If your market is all readers, make the setting in the stylesheet and hope that all readers will use it. Otherwise don't bother. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
You can certainly set it to 1 instead of the default of 2. Since there is no header data on most (all?) readers it cannot be confused with a header. Some don't like one or two words at the top of the page but it does keep the length of each page more uniform.
Dale |
![]() |
![]() |
![]() |
#4 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,543
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
In general it should be a matter of reader preference, not part of a book formatting. I would only specify widow or orphan values for some blocks that might benefit, otherwise leave the default.
|
![]() |
![]() |
![]() |
#5 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,005
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I set widows and orphans to 0. In fact, this is the body I use most of the time...
Code:
body { font-family: "Fontin", serif; widows: 0; orphans: 0; margin-top: 0; margin-bottom: 0; margin-left: 0; margin-right: 0; text-align: justify; font-size: 95% } |
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Quote:
Dale |
|
![]() |
![]() |
![]() |
#7 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,543
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
|
![]() |
![]() |
![]() |
#8 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
Quote:
AFAIK , the primitive device known as Kindle does nothing re widows & orphans, it' s just Epub based readers that apply their own interpretations of what is "good" ?. I never noticed this issue until I switched from Kindle to sony. |
|
![]() |
![]() |
![]() |
#9 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Ah, but that is because Kindle is the only reader that reads it's own format. Most others read ePub. Unfortunatly that can cause reader manufacturers making decisions what is good and what rendering engine to use. That causes ePub to display differently between readers.
|
![]() |
![]() |
![]() |
#10 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Quote:
Dale |
|
![]() |
![]() |
![]() |
#11 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
|
Quote:
is ADE the main one & is that what Sony use ? PS - found this(old) summary : http://oldbugs.calibre-ebook.com/wiki/ReaderQuirks |
|
![]() |
![]() |
![]() |
#12 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Quote:
There are a few others but only ADE has support for DRM used by most eBook stores and public libraries (overdrive). Apple has their own ePUB rendering engine with their own DRM. Dale |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Widows and Orphans | danrodney | ePub | 10 | 12-08-2010 02:08 PM |
Windows and Orphans? | Catire | ePub | 5 | 06-29-2010 03:25 PM |
Widows and Orphans - Taking Control | Themus | Calibre | 2 | 05-24-2010 09:40 AM |
A question about CSS: widows and orphans | Jellby | ePub | 5 | 08-31-2009 03:54 PM |
Google and the Zombie Army of Orphans | anurag | News | 2 | 03-30-2009 08:19 AM |