Originally Posted by Hadrien
mobigen with the NCX defined in the OPF.
Joshua points out that the toc.ncx can't have nested items, or at least that nested items won't generate waypoints. So he generates a standard MOBI TOC and a potentially simplified toc.ncx. See post 7 of Section Skipping / Chapter Skipping on Kindle / .MOBI