#AlanHK...I'm not really sure how your above example relates to my plugin. From your example, it's seems that you're actually removing the chapter subtitles from the epub TOC page. This plugin doesn't change or touch the epub TOC page. The plugin just combines the chapter title with the chapter subtitle in the toc.ncx file to give you a single-level NCX TOC. See example below:
It just changes the NCX headings from this:
Code:
<navPoint id="navPoint-7" playOrder="7">
<navLabel>
<text>CHAPTER 1</text>
</navLabel>
<content src="section-0007.xhtml#auto_bookmark_toc_8"/>
<navPoint id="navPoint-8" playOrder="8">
<navLabel>
<text>All About Kindle Create</text>
</navLabel>
<content src="section-0007.xhtml#a__Toc29195570"/>
<navPoint id="navPoint-9" playOrder="9">
<navLabel>
<text>Limitations of this Book</text>
</navLabel>
<content src="section-0007.xhtml#a__Toc29195571"/>
To this:
Code:
<navPoint id="navPoint-3" playOrder="3">
<navLabel>
<text>CHAPTER 1 — All About Kindle Create</text>
</navLabel>
<content src="section-0007.xhtml"/>
</navPoint>
<navPoint id="navPoint-4" playOrder="4">
<navLabel>
<text>CHAPTER 2 — Preparing a Word Doc Using Ms Word</text>
</navLabel>
<content src="section-0009.xhtml"/>