View Single Post
Old 03-30-2010, 01:00 PM   #5
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: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
I just did it by:
  1. downloading the zip version of the document and unzipping it to a temp folder
  2. adding cover.html in that folder to calibre
  3. starting a convert to epub of the ebook resulting from #2
  4. setting table of contents level 1 detection to //h:h1
  5. letting the convert run
I got a nice epub with a level 1 toc. If you also want level two, put //h:h2 into the table of contents level 2 detection box.
chaley is offline   Reply With Quote