Thread: EPUB output
View Single Post
Old 02-11-2009, 08:10 AM   #335
llasram
Reticulator of Tharn
llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.
 
llasram's Avatar
 
Posts: 618
Karma: 400000
Join Date: Jan 2007
Location: EST
Device: Sony PRS-505
Quote:
Originally Posted by ewiplayer View Post
So, I'm just posting it here. I think the tar file should be adequate to reproduce the problem. Just extract and run the create.sh. When I do it, there are no level2 items.
The problem is that right now TOC-generation via the --level*-toc options depends upon the markup structure within a single file. If you just 'cat' all the files in the example together (lxml can handle the resulting markup soup) and run calibre with the TOC options you provided, everything works as you had expected.

We'll see what Kovid says, but I don't see an obvious way to fix this in the current release series. Fortunately work on the next release series is in progress , although I can't begin to guess on a release date.
llasram is offline   Reply With Quote