View Single Post
Old 03-07-2009, 05:58 PM   #331
ilovejedd
hopeless n00b
ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.
 
ilovejedd's Avatar
 
Posts: 5,110
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
Quote:
Originally Posted by kiklop74 View Post
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?
ilovejedd is offline