I've been looking at epub3 and here's what I've found so far:
- EpubSplit(and EpubMerge) don't look at the epub version number, but they do look for the TOC in a ncx file (or more precisely, file with media-type='application/x-dtbncx+xml'). Apparently, this is not uncommon among epub readers from what I've seen.
- Calibre's Polish->Upgrade book internals, Edit book->Tools->Upgrade book internals and Convert->Epub->Output Version:3 features all currently write only the epub3 nav.xhtml and no toc.ncx.
- Calibre's Edit TOC (both from Calibre directly and inside Edit book) will write both the epub3 nav.xhtml and epub2 toc.ncx.
With a small (2-3 line) change, Calibre can be made to write the epub2 toc.ncx for "Upgrade book internals" and Convert->Epub using the same mechanism as Edit TOC that looks to work correctly to me. I haven't decided yet if I should submit it to Kovid or not--and he may or may not want it.
That would help with Calibre generated epub3s, but doesn't directly do anything for epub3s from other sources. So I'm still considering what changes EpubSplit/EpubMerge should have as well. Native epub3 support? Prompts to generate toc.ncx if absent? Prompts and instructions for the user to generate toc.ncx?
|