View Single Post
Old 09-16-2020, 04:14 PM   #11
Rand Brittain
Bookmaker
Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.Rand Brittain ought to be getting tired of karma fortunes by now.
 
Posts: 427
Karma: 2143650
Join Date: Sep 2010
Device: Cybook Opus
Quote:
Originally Posted by JSWolf View Post
Take this ePub and load it in the Calibre editor. Then fromt he Tools menu, select "Remove unused CSS rules". This will remove any CSS classes that are not used in both the CSS and the HTML.
Oh, man, this is the first thing I do with any ePub, regardless.

The problem is fixed by changing the language settings in the xhtml tag; I just wanted to mention that because this particular ePub had 5,000 unused style rules when I first processed it. I guess Kodansha's default stylesheets are just ungodly huge and probably intended for Japanese-language texts.
Rand Brittain is offline   Reply With Quote