View Single Post
Old 06-22-2016, 08:40 PM   #6
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
Quote:
Originally Posted by kovidgoyal View Post
IIRC the ToC detection for EPUB 3 should handle nav less files correctly (although such files are invalid as per the epub 3 spec). If that is not the case, attach one of these files and I will look into it.
Attached is a scrambled EPUB3 with its nav.xhtml intact.

To reproduce the problem:
  • Open in Editor. TOC pane looks OK.
  • Run Check - shows 'The file nav.xhtml is not referenced'
  • Delete nav.xhtml from Miscellaneous section.
  • Re-run Check - No errors. Editor's TOC pane still looks OK.
  • Save file. Re-open file in Editor or TOC editor. TOC pane empty.
Attached Files
File Type: epub EPUB3_with_nav_scrambled.epub (1.18 MB, 606 views)
jackie_w is offline   Reply With Quote