View Single Post
Old 10-18-2008, 04:29 PM   #606
tompe
Grand Sorcerer
tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.
 
Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
Quote:
Originally Posted by kellyterryjones View Post
Tip for anyone who gets Kindle books that have a non-clickable TOC. After doing this:

html2mobi --fixhtmlbr --gentoc --htmlfile psuedofile.html *.html

Run html2mobi AGAIN on psuedofile.html (I sort of though that's what html2mobi did anyway, but I guess not).
I thought so to

I just looked at the html2mobi code and it looks like a bug. It generates the TOC but does not extract the link information so it will not be clickable. The pseudofile.html will be a working html file with the links so when you run html2mobi (or mobigen) on that file you will get working links. A rather fun workaround...
tompe is offline   Reply With Quote