This works great. Does anyone have a script or methodology that would enable this to be added for a lot of books, either inside Calibre or outside of it? Would love to find a way to batch this without having to go through hundreds or thousands of titles...
Quote:
Originally Posted by DNSB
The number of blank lines at the bottom of the page can be reduced by adding
Code:
widows: 0;
orphans: 0;
to the stylesheet for the ebook. Either Sigil or Calibre can do this. Without this setting, the Adobe ARM renderer will use a default of 2 (unless you get a version that been set for 3) for both those values. Without these settings, a paragraph that would leave 1 or 2 lines at the bottom of a page (orphans) would be moved to the next page leaving blank lines and a paragraph that would leave 1 or 2 lines at the start of the next page (widows) will have enough lines moved to the next page to leave 3 or more at the top of the page, again leaving blank lines at the bottom of the previous page.
See the following links for a bit more information:
MobileRead: https://www.mobileread.com/forums/sho...d.php?t=133042
Orphans: http://xhtml.com/en/css/reference/orphans/
Widows: http://xhtml.com/en/css/reference/widows/
Regards,
David
|