View Single Post
Old 05-28-2012, 04:07 PM   #146
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,732
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Quote:
Originally Posted by Rand Brittain View Post
For another feature request, would it be possible for this plugin to remove styles that are unused in the EPUB from the stylesheet?
This has been discussed previously both on this thread and in the plugin ideas thread. In short, its not something I currently have plans of supporting - there are too many ways of declaring styles, and too many issues with removing them without completely rewriting the css files (which is what a calibre conversion does). And it is a feature I think belongs in Sigil rather than this plugin, since it should only be while editing the ePub that a css style gets made redundant?

If your epub has a bunch of unused styles, then it is probably unlikely to be a retail one, in which case why not just do a calibre conversion on it? As calibre automatically removes unused styles as part of its css flattening.
kiwidude is offline   Reply With Quote