View Single Post
Old 03-30-2010, 02:35 PM   #8
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,475
Karma: 8025702
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by kovidgoyal View Post
or stick special class attributes on all the elements you want in the toc in the source html files and use the toc autodetection options
The html file already uses H? tags. The TOC (which is 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 to 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.

Last edited by chaley; 03-31-2010 at 06:00 AM. Reason: typo correction
chaley is offline   Reply With Quote