View Single Post
Old 11-28-2007, 05:49 PM   #5
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: 26,312
Karma: 5382313
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The way the TOC is specified varies widely from lit file to lit file. Take a look at opf.py in libprs500 for the logic I use to figure out the TOC.

You might also find this page useful
http://www.idpf.org/oebps/oebps1.2/d...eb12-xhtml.htm

Last edited by kovidgoyal; 11-28-2007 at 05:52 PM.
kovidgoyal is offline   Reply With Quote