View Single Post
Old 03-30-2010, 09:23 PM   #9
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,418
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by chaley View Post
The html file already uses H? tags. The TOC (which not actually a TOC, but is a section in the cover page) appears to be automatically generated by finding H? tags and generating a reference the the <a > anchor within the H tag. That is why I thought that doing the same thing (finding the H? tags) would satisfy the need.
It should. calibre can also create a TOC from <a href> elements, so with a little fone-tuning, the OP could even use the TOC section in the HTML
kovidgoyal is offline   Reply With Quote