The thing is, janvanmaar - Peter already has a working, inline TOC (the only kind that the Kindle makes available to the user), and in creating the MOBI file with Calibre, the ncx TOC is being correctly created, since he's able to navigate using the Kindle's 5-way control. What isn't working is the Kindle's "Go To..." menu entry which, if it was working, would take the reader to the inline TOC. As far as I know, the only way to enable that to work is via a type="toc" guide item pointing to the start of the inline TOC in the HTML file.
If Peter was hand-crafting the source files to compile into the MOBI file, it would be relatively straightforward - add the HTML bookmark at the appropriate point in the HTML file, and add the appropriate item to the guide section of the OPF file to point to the location of the inline TOC in the HTML file. Then he could use Kindlegen, for example, to combine the OPF file, NCX file, HTML file and (if included) cover image into a MOBI file.
The issue here is how to get that guide item into the MOBI file so that the Kindle knows where to find the inline TOC.
|