View Single Post
Old 05-17-2013, 01:39 PM   #74
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,367
Karma: 171313058
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by Faterson View Post
There is nothing to fix in my EPUBs (at least those I tried). They are hand-crafted by me, from w3c.org-validated HTML files. All the paragraphs have zero margins, there are no widows, orphans and such. And, it wouldn't be worth the hassle for me, anyway. I buy e-reader devices for reading books on them, not to struggle with manually fixing the book files before reading them.
If you don't insert widows: 0; and orphans: 0; in the css stylesheet, the default is set to 2 or 3(*). Setting both to 3, if a paragraph has 4 lines, all 4 lines must be kept together. So if the paragraph falls at the bottom of the screen, rather than displaying 3 lines on one screen and 1 line on the next screen, you will get 3 lines worth of blank space and the paragraph on the next page.

I use Sigil to clean up the formatting in most of the books I read. Calibre is capable of doing many of the cleanup tasks automatically as well.

(*) The 2 or 3 for the default value seems to vary depending on which source you check.

Regards,
David
DNSB is offline   Reply With Quote