Originally Posted by djstormer
I'm trying to create a mobi from an epub, but, like you say, Kindlegen doesn't create a proper TOC. But I understand that Kindlegen is the better option than Calibre if you want to make fully compliant mobi files.
Get the latest Sigil Beta version
(build 0.5.906). It has an option to generate an inline HTML TOC, if the chapter headings are formatted as headings (h1, h2, h3 ...).
(Select Tools > Table of Contents > Create HTML Table of Contents
Sigil will also automatically add additional guide information
required for .mobi files