View Single Post
Old 11-20-2013, 12:15 AM   #7
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 47,386
Karma: 171313058
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by arspr View Post
Nope, it doesn't matter.

As a test I've redone my kepub-book.css with this setting:
Code:
* { 
    widows: 2;
    orphans: 2;
    text-decoration: line-through;
}
And it perfectly works... on the crossing out part of the style. Every book I open is completely decorated...

Hey, in Terry Pratchet's "The Carpet People", I have even found a page starting with a widow line and ending with an orphan one.

Now seriously, have any of you made widows and orphans work as expected?
Those may not have been orphans or widows -- I've found a quite a few ebooks that have lines such as <p>&nbsp;</p> to supply a nice wide space between paragraphs. Since the paragraph is only a single line, the widows/orphans setting has no effect on them. Not to mention the dimbulbs who put a mass of blanks lines at the end of a chapter just to ensure we will get a blank page between chapters. The commercially produced epubs seem to be some of the worst offenders when it comes to questionable code.

I was checking with 3.0.0 and several of the changes I put into the kepub-book.css are no longer showing up. I'm currently browsing for some non-DRMed kepub.epub books so I can a look at the internal CSS to see if any changes have been made.

Regards,
David
DNSB is offline   Reply With Quote