Quote:
Originally Posted by kiklop74
If you really want to force use of some css you need to use following method in the recipe (in case of EPUB format):
Code:
html2epub_options = 'override_css=" <some CSS> "'
This places your css rule as the last css in every css file and thus enforces it regardless of what calibre previously does.
|
Nope. Tried that and it didn't work. I exploded the created epub files and the page-break-before/after: avoid style is added in-line with the text so that trumps all specified styles in the stylesheet. Is it just the "chapter" class that's special? If I change it to, say "foo", would Calibre then stop overriding the page breaks?