Thread: Kobo Bug thread
View Single Post
Old 03-21-2017, 04:10 AM   #861
Rev. Bob
Wizard
Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.
 
Rev. Bob's Avatar
 
Posts: 1,760
Karma: 9918418
Join Date: Feb 2013
Location: Here on the perimeter, there are no stars
Device: Kobo H2O, iPad mini 3, Kindle Touch
Quote:
Originally Posted by Namenlos View Post
Left right arrows for chapter forward/backward don't work and jump to the first one in the xhtml file. Also the wrong chapter is displayed and the checkmark in the overview is on the wrong chapter. Chapters are generated in Sigil and FlightCrew finds no errors.

Code:
    <meta content="{59B4E70D-E7D8-4591-859A-90C974AEA3FD}" name="dtb:uid"/>
    <meta content="2" name="dtb:depth"/>
    <meta content="0" name="dtb:totalPageCount"/>
    <meta content="0" name="dtb:maxPageNumber"/>
I see two red flags here:

1. Why are there {braces} around the UID? Are they present in the OPF's identifier value?
2. Unless there's nesting in the TOC, which your sample does not indicate, the depth should be 1, not 2. (Yes, I know Calibre assigns a value of 2 to a flat TOC. Calibre's wrong; the EPUB spec is quite clear on that front.)

Splitting chapters into different files is also good practice, but it shouldn't be mandatory.
Rev. Bob is offline   Reply With Quote