Quote:
Originally Posted by Gusgsm
I input XHMTL as simple as possible. That is: plain p, h2, h3, and h1 tags with some em and blockquotes. No more as what I do are plain text novels. Then I add a very simple css with very basic rules (align letf, size 1em, 1.4em...). Nothing more as I like/need my code and texts to be as simple and clean as possible.
|
I achieve this by using calibre's Tweak ePub option after conversion:
1) Explode the ePub.
2) Copy your own stylesheet.css over the top of calibre's generated one.
3) Use a simple regex to remove all class="calibre..." from the generated HTML documents.
4) Rebuild the ePub.
You can omit step 3 but this will leave redundant data in the book.
I know it's a few steps but it doesn't take long and you only do it once for each book, provided you do not reconvert. (Maybe there would be a way to program this as a plugin to automate it.)
I agree, it would be useful to be able to do this via some sort of conversion dialogue.