View Single Post
Old 06-22-2016, 06:33 PM   #1
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Epub3 and TOC and calibre Editor

For info: my 'production calibre' is currently v2.58 but I can also run from source v2.59.

Regarding TOC and EPUB3 ... If an epub is marked as EPUB3 (in <package> attribute version) but it has previously had its TOC nav.xhtml manually removed (whether this be right or wrong) but DOES have a TOC NCX - what is supposed to happen when you open that epub in the calibre Editor, the TOC editor and the Viewer?

When running from source v2.59:
My observation is that when the 'nav-less epub3' is opened in the Editor, the TOC panel is empty. The TOC editor also shows as empty even though I know the NCX is correct. Opening the same epub in the Viewer shows the TOC correctly.

When running v2.58: the 'nav-less epub3' shows the TOC correctly in all three, Editor, TOC editor and Viewer.

I make no judgement on whether v2.59 is correct or not but if this is the way it's going to be from here onwards I'd like to know because I'll need to do some (maybe a lot) of remedial work to fix my nav-less epub3s.

I tried a quick test of manually changing the opf <package> version attribute from 3.0 to 2.0 then save/reopen. At first glance this appears to fix the immediate problem but it may not be the sensible fix.

Thoughts, please.

Last edited by jackie_w; 06-22-2016 at 06:51 PM.
jackie_w is offline   Reply With Quote