Quote:
Originally Posted by DNSB
I downloaded the scrambled file and it is a total mess. Epubcheck was very unhappy with it and even calibre's ebook-editor check was not happy.
Anyhow, I did some regex to correct most of the errors and embedded a monospace font set. The monospace now appears on when the book is sent to my Kobo as an epub. If sent as an .kepub.epub, I need to select Publisher default as the font and then it works. The file I generated is not pretty and I did very little cleanup after my experimenting.
The majority of the errors were when a blockquote was followed by a <b>. Which is legitimate for most web browsers but the ePub spec wants to see a block level element there.
A quick list of block level elements:
|
Thank you (and to everyone else!) for looking over it! I had no idea this was a mess; it always displayed perfectly on my Kindle. And the ebook was retail, so I really wouldn't have expected it to be a disaster. I did run the bug check from the Calibre Editor, but that wasn't flagging issues for me. I guess I must acquire and learn to use epubcheck!