View Single Post
Old 04-13-2015, 12:39 PM   #1251
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,254
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
@monry,

I've no wish to cause further confusion but ... rather than using conversion to fix the TOC have you considered using calibre's TOC Editor instead. It edits the TOC NCX not the in-book page(s) of hyperlinks.

If your original epub has a faulty TOC you can open it in the calibre TOC Editor where you can delete all existing TOC entries then choose the 'Generate TOC from files' option. This will guarantee that you get one entry per file. It may also mean some hand-editing of the TOC entry text if calibre has 'guessed wrong' what the label should be.

Once you know the epub TOC is perfect you can convert epub-to-kepub. You'll also need to make sure your conversion options don't interfere with the newly-perfected TOC, e.g. disable 'Force use of auto-generated TOC' and also check the settings on the Convert - Structure Detection page - particularly the 'Detect chapters at' option (I set mine to '/' when I want the TOC to be left alone)
jackie_w is offline   Reply With Quote