When you grasp how the available tools work, you can trick them into helping
The TOC tool builds an NCX TOC from Header tags (h#) (there is a rule pulldown, but it is more of Include if H# value or higher)
The Inline (HTML) TOC tool function uses the EXISTING NCX as the source. Thus the sleight of hand to grab the items. Build a NCX->Make HTML->toss fake NCX and clear the guide (semantics) so the next cycle does not just replace.
Since the Sigil tool use H# tags, we know that we want ONLY those desired available for the Index we are building.
So during book creation we do NOT use H# tags
normally. Instead we give each CLASS (of index) a class value to make bulk switching easy.
<p class="Onomastics"> The class name is not critical as long as it denotes a unique group.
The
toolbag plugin allows tag manipulation. eg
Modify all
P tags with the
class name Onomastics > H ✔
Keep attributes