Quote:
Originally Posted by evanft
This worked. Is there a way to do this in bulk? My books have "Calibre14", "Calibre23", etc. as the style for regular paragraphs. is there a way to add the orphans and widows CSS in a bulk conversion?
|
Those names says the books have been through a calibre conversion. If they have been cleaned up, then open them find the stylesheet and the class used for the body will be "calibre". Add the orphans and widows to that.
To do a bulk fix, reconvert them in calibre. Select a few at a time and press the convert button. Go to the "Look & Feel" tab of the conversion settings. In the "Extra CSS" field, put "body {orphans: 0; widows: 0}". Calibre will add those to the class it uses for the body tag in the stylesheet.
Make sure you do a couple of books first and that you like the results.