Hi webfolk,
If you prefer the 2-level TOC (see attached image below), i.e. Parts and Chapters at same level in TOC with Sections still nested under Chapters, then there is a simple solution not involving Sigil.
Import your cleaned up HTML (blank lines removed etc) into Calibre and convert to EPUB using the settings detailed in post #9 step 2, with the following minor changes:
Code:
Table of Contents - Level 1 TOC - //*[@class="invisible"]
Table of Contents - Level 2 TOC - //h:h3
Table of Contents - Level 3 TOC - leave empty
Afterwards, you would still need to manually tweak the EPUB's toc.ncx for the 5 'Part' entries, as detailed in post #9 step 3.