@JSWolf you are absolutely correct, if you are doing the conversion for your own use.
If it is for production, you may want more fine-grained control, however. The script does what I wanted it to do, not what anyone else wanted it to do.
The OP asked for it, who knows whether he needed it?
If you upload an epub to Amazon, and they (amazon) convert it to a kindle file, will they generate the inline TOC from the toc.ncx? (I don't know -- I'm asking.)
|