|
|
#1 |
|
Age improves with wine.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 596
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! |
|
|
|
|
|
#2 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,597
Karma: 28548962
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Click the Generate ToC from XPath button
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Age improves with wine.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 596
Karma: 95229
Join Date: Nov 2014
Device: Kindle Oasis, Kobo Libra II
|
Oh, duh
![]() Color me stupid... I somehow never noticed that button... Sorry! |
|
|
|
![]() |
| Tags |
| toc creation |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| yet another feature request | arslonga | Marvin | 0 | 11-15-2014 01:41 AM |
| Feature request: E-book Viewer TOC doesn't show where you are | alessandro | Calibre | 5 | 11-21-2013 10:16 AM |
| New Edit ToC tool | library addict | Calibre | 2 | 03-15-2013 04:49 AM |
| Release : New Tool to Edit ePubs TOC, Edit with Sigil and keep you TOC | Nigol | ePub | 105 | 10-29-2012 11:40 AM |
| Feature Request - TOC Exclude "> My Books" | chrisparker | Library Management | 2 | 10-13-2012 11:44 AM |