ePUBs multilevel TOC gets flattened in conversion to MOBI
Hello, first I just want to say, that even though I am a new user, I've been browsing this forum the last couple of weeks, and usually I have found an answer. Even now, I searched before registering/posting this. Without luck, this time.
Until now, I used to convert books from ODT to HTML, format the HTML with chapters and whatnot, then convert it MOBI for my Kindle. I managed to create multi level TOCs this way, and even though it took a lot of time, in the end I was pleased with the result.
I have a couple of ePUBs as well though, and most of them have TOCs themselves. I started converting them, and most of their multi level TOCs remained multilevel in MOBI. Some did not.
And this is what bugs me. I opened the ePUB in Sigil, took a look at the toc.ncx but the XML was ok. I even tried tweaking the ePUB from calibre, but again, the TOC file looked right, and more importantly, it looks just fine in calibre's ebook viewer. I get a nice multilevel TOC, but after I convert it to MOBI, it gets flattened.
During conversion the 'Force use of auto generated TOC' is not checked, and I don't have anything in the TOC filter.
As a final option took a look at the HTML and tried to force calibre to detect the levels in the TOC using the individual classes etc. This time the force use of TOC was checked, but strangely this did not work either.
Could this be because some weird ePUB I have? Any ideas how to get around this?
|