View Single Post
Old 06-08-2013, 01:14 PM   #158
guma
Connoisseur
guma ought to be getting tired of karma fortunes by now.guma ought to be getting tired of karma fortunes by now.guma ought to be getting tired of karma fortunes by now.guma ought to be getting tired of karma fortunes by now.guma ought to be getting tired of karma fortunes by now.guma ought to be getting tired of karma fortunes by now.guma ought to be getting tired of karma fortunes by now.guma ought to be getting tired of karma fortunes by now.guma ought to be getting tired of karma fortunes by now.guma ought to be getting tired of karma fortunes by now.guma ought to be getting tired of karma fortunes by now.
 
Posts: 93
Karma: 473808
Join Date: Jul 2012
Device: kobo touch
Quote:
Originally Posted by rayhigh View Post
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...
In Caliber:

When converting the ebook put the following in the 'Extra CSS' box on the 'look and feel' options page. (I.e. Select the books you want to edit, then click convert and go to the look and feel page):

p, body{
widows: 0;
orphans: 0;
}

While you're at it you may want to get rid of epub-embedded css styles too so that you can set margins, fonts etc. on the KOBO. To do that tick all boxes in the 'filter style information' tab on the same options page.

Note that you can 'convert' epub to epub in Caliber. You can save these conversion settings (somewhere in the preferences) so that Caliber uses them per default.
guma is offline   Reply With Quote