View Single Post
Old 03-08-2011, 04:12 PM   #10
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: 43,850
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by siebert View Post
That's a pity. But it should be possible to implement, or does calibre discard some information it won't be able to recover?
It's certainly possible, just not something I care to implement.

Quote:
As a proper formatted epub won't match this requirement, it should be considered a bug and fixed, shouldn't it?

Ciao,
Steffen
A properly formatted epub will also have a properly formatted TOC. Again, it's perfectly possible to have the code remember the last encountered level n-1 TOC entry and use that for the next level n toc entry across HTML flows, but again, it's not something I consider important enough to spend time on.
kovidgoyal is offline   Reply With Quote