Thank you all!
I followed your instructions, using the prefix ## for the chapter name string eg ## Chapter 13 Blue Skies
and setting XPath detection expression to “//h:h2” and the filename to filename.txt.
Calibre then correctly included the chapter name strings in the Table of Contents.
|