Closed jeankaplansky closed 5 years ago
This just in. This isn't an NCX problem after all. I just doctored up a file with "NCX Here!" in the NCX and "toc.xhtml Here!" in the toc.xhtml and verified that iBooks is pulling the nav for both the GUI and the content from toc.xhtml (phew. Good to know.)
But I also discovered that the same weird glitch where the second chapter ignores indents and goes back to the part level display is happening in iBooks iOS on a 1st gen iPad Air running 8.1.2(12B440) and iBooks 4.1.1 (2618).
See this: http://apple.stackexchange.com/questions/157460/ibooks-epub3-nested-ncx-toc-isnt-working
I duplicated the problem tonight with 3 nested levels.
The GUI TOCs work as expected in Readium 2.15.2 and VST Bookshelf V6.5.2 (1923)
I've been staring at this thing for hours now. I've tried rearranging things in legal nesting ways, to no effect. The toc that displays in the book is correct, and iBooks GUI realizes that both chapters are nested, it just doesn't indent the first chapter and sections appropriately, and formats the second chapter titles as if it were a top level TOC item.
Here's what the first chapter looks like:
And here's what the second chapter looks like for comparison:
and here's the in book toc.xhtml nav:
I'm 98% sure that iBooks is pulling the GUI TOC from the NCX rather than the nav.xhtml, which doesn't make sense at all since this is an EPUB 3 book.