Quote:
Originally Posted by sgmoore
It's definitely faster (a quick one off test shows that spawning ebook-convert is about five times slower).
Unfortunately it is not better and indeed not good enough. I have some files which look like they have been generated as epub files by Microsoft Word, and the count_pages algorithm produces text which is about four times larger than ebook-convert. (A quick glance shows thousands of font-family entries which have not been removed by count_pages).
|
AFAIK Microsoft Word itself is incapable of creating EPUB files directly.
The ePUBTools Word addin can create EPUBs from within Word, and there are a number of tools, including calibre, that will convert MS Word's native format DOCX files to EPUB.
Added: InDesign is a more likely candidate as the source of poorly formed EPUBs.
BR