Quote:
Originally Posted by Rand Brittain
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.