Quote:
Originally Posted by Tenome
Dang. Guess I'll see if Calibre can do it, though I don't like how there doesn't seem to be a way to turn off its renaming of CSS classes.
|
In Calibre's directory there is a program "ebook-convert.exe" that you can use on a command line.
It converts between formats, but doing epub to epub cleans up a lot of things, and doesn't rename classes, though it may create some new ones (e.g. if there are spans with styling).
Just do: "ebook-convert oldbook.epub newbook.epub" and see how it goes.
See
https://manual.calibre-ebook.com/gen...k-convert.html for options, though default makes it manageable and I continue in Sigil.
Note that it may resize and compress images if they're "large", you can just reimport the originals or try using the option " --output-profile tablet" which will (usually) make it leave images as-is.