If you use kindlegen, you can create a .ncx file that describes the structure of your document and the table of contents. You include item in manifest :
<item id="My_Table_of_Contents" media-type="application/x-dtbncx+xml" href="KUG.ncx"/>
and (this is the key bit, the discerning reader will understand what I forgot to do) include the table id in the toc attribute of the spine element:
<spine toc="My_Table_of_Contents">
(The above snippets are taken from the Sample document included with kindegen. Specification links for these files can be found in Sample/Guide.opf .)
After that, kindlegen should include in its output something like:
Info(prcgen): Building table of content URL: /path/to/KUG.ncx
If all of the above is successful, you should see the chapter labels on the Kindle navigation panel and use the left / right buttons to move from chapter to chapter.
Greg hewgill
source share