View Single Post
Old 09-18-2015, 10:04 AM   #1
Phssthpok
Age improves with wine.
Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.
 
Posts: 583
Karma: 95229
Join Date: Nov 2014
Device: Kindle Oasis, Kobo Libra II
ToC tool: feature request

At the moment, the ToC tool can generate a ToC based on <h1> to <h3> tags. Can I request a facility to allow the user to choose (from inside the ToC tool dialog) which levels are indexed , rather than the current fixed set?

Motivation: Sometimes I want to (a) index h1 and h2 only, or (b) go down as far as h4. The only way to do this currently is:
(a) to generate the ToC, "expand all" and manually delete the h3's (relatively easy but tedious);
(b) search-and-replace <h4>...</h4> with <h3 class="h4">...</h3>, generate the ToC, search-and-replace <h3 class="h4" id="x">...</h3> with <h4 id="x">...</h4>, edit the ToC and manually move all the h4's from the h3 level to the correct h4 level... what a chore that is!
Phssthpok is offline   Reply With Quote