The NCX is probably being built with the Chapter detection xpath vs. the multi-level TOC xpath.
Try putting this in 'detect chapters' under structure detection ( still following the rest of jackie_w's instructions):
Code:
//*[name()='h1' or name()='h2']
Can't tell exactly what you're trying to do based on your descriptions though...
If you're trying to force Calibre to use your original inline TOC then you need to convert to ePub first, and follow the guidelines in this post:
https://www.mobileread.com/forums/sho...0&postcount=11
Note if you follow that post you then probably also need to go under the mobi output options and enable the 'Do not add Table of Contents to book' option.