I've been taking the easy way out. I don't put anchors in or any kind of links. I set the highest level of the TOC in h2 tags, the next in h3, etc. I then tell calibre to look for those tags and create the TOC automatically.
So far it works beautifully.
|