Quote:
Originally Posted by phossler
I merged a number of stories into a single epub and there was a lot of redundant attributes across them. I wanted to be neat and make sure the styling was consistent where is needed to be
|
Ummm... the tool that is the topic of this thread will not undo the damage caused by inconsistent styling in the original sources (or else whatever later conversions may have done)...
So I am still wondering what that has to do with
this thread.
Quote:
Originally Posted by phossler
Does having a number of unused CSS styles from a my 'House Rules' CSS add anything significant to the overhead of size or performance? (serious question since I don't know)
|
It can... every little bit helps. And then there are the monstrous house styles used by BPH ebook makers, which have hundreds and hundreds of unused rules (and attributes) and noticeably decreases the file size when cleaned up!
Quote:
I've never worried about unused CSS rules in my standard CSS file (currently epub34.css) , since for example I have a <p> that I like, also headings, tables, etc. I have TOC-related CSS that makes the HTML TOC the way I prefer.
Admittedly when I'm done I could put the epub on a diet to get rid of all that fat. Just never thought about it because of the way my workflow has developed.
|
And now you are worrying about
missing unused CSS rules.
It is one thing to not be concerned about putting your EPUB on a diet. It is another thing entirely to have a tool you used for other reasons, give your EPUB a free diet, and then protest that you want the fat back!
So I don't see why you need a workaround to
add back in the styles you aren't using, just because "I try to keep my 'standard' stylesheet consistent so even though rules are not used in a given book, I'd like to keep them".
Unless you really, really want to, just Because.
But if so, I don't think calibre is going to add another option just for that.