I am trying to implement an inline TOC in Sigil to use to build IMP and LRF files. Since each Chapter Heading already has an anchor for the Epub TOC, I have tried to link to them.
Link in Inline TOC
<div>
<a href="#Ch2"><span class="sgc-6">Chapter 2. The Beginning Of Troubles.</span></a>
</div>
Anchor in Chapter Heading
<h2 id="heading_id_2">
<a id="Ch2">Chapter 2. The Beginning Of Troubles</a></h2>
CSS definition
span.sgc-6 {color: #000000}
After an entire morning trying to run this down, I'm bamboozeld. Where have I strayed from the path of virtue?
I imagine that the problem is multiple HTML files in the document but I don't know what to do.
Charlie