If you have a crappy epub and you want to get it to as clean a version of single file html as possible you could convert to mobi, and then convert back to epub.
When you convert back to epub, you have two options to make it a single HTML file:
- enable debug output, and grab the html from the 'input' directory
- change your epub output to not split on page breaks and change the max split size to a few megabytes.
Staying in the html world is generally a better idea than going to rtf. You could also try converting to Markdown/Textile, but formatting retention is highly dependent on how various bits of the html is structured. It can be a good method to clean up crappy html in a number of cases.
|