chapter detection happens in the conversion pipeline well before either epub or mobi specific code is invoked. So that's not the issue.
First check: When you say you get a blank TOC in MOBI do you mean an TOC within the book's contents, or the metadata TOC (i.e. the TOC accessed by presisng the menu button on a kindle or the TOC button in the calibre viewer)
|