08-30-2011, 12:12 PM | #1 |
Junior Member
Posts: 9
Karma: 10
Join Date: Aug 2011
Device: Kindle 3
|
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? |
08-30-2011, 12:36 PM | #2 |
Resident Curmudgeon
Posts: 73,957
Karma: 128903250
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Mobipocket does not support a multilevel ToC. So yes, a multilevel ToC in ePub would get flattened. Now if you mean multilevel as in different indent levels, then that's really not multilevel.
|
Advert | |
|
08-30-2011, 12:40 PM | #3 |
Junior Member
Posts: 9
Karma: 10
Join Date: Aug 2011
Device: Kindle 3
|
It looks like this in the E-book viewer (MOBI and ePUB)
- Part 1 | - Chapter 1 - Part2| - Chapter 2 | - Chapter 3 | - Chapter 4 | - Chapter 5 | - Chapter 6 | - Subchapter 1 | - Chapter 7 +Part3On the Kindle it has only indents, that's true. Is this not multilevel then? Last edited by damnated; 08-30-2011 at 12:45 PM. |
08-30-2011, 12:44 PM | #4 |
Resident Curmudgeon
Posts: 73,957
Karma: 128903250
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
What reader are you using to view your Mobi and can you please post a sample that has this multilevel ToC?
|
08-30-2011, 12:50 PM | #5 | |
Junior Member
Posts: 9
Karma: 10
Join Date: Aug 2011
Device: Kindle 3
|
Quote:
For some books, this looks good in MOBI and ePUB, but for other books after the conversion to MOBI, I don't have multi levels. The sketch in my previous post above is how I see the TOC in the E-book Viewer of calibre. On the device, Kindle, I see indents after each sublevel. If I see a one level TOC in the E-book Viewer (PC) I see a flat TOC in Kindle as well, no indents or anything. I hope I am being clear Last edited by damnated; 08-30-2011 at 12:58 PM. |
|
Advert | |
|
08-30-2011, 12:54 PM | #6 |
Resident Curmudgeon
Posts: 73,957
Karma: 128903250
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
08-30-2011, 12:59 PM | #7 |
Junior Member
Posts: 9
Karma: 10
Join Date: Aug 2011
Device: Kindle 3
|
I was editing the post, took me a while with the indents.
|
08-31-2011, 02:00 PM | #8 |
Resident Curmudgeon
Posts: 73,957
Karma: 128903250
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
That would work for ePub, but Mobipocket does not support the NCX file other then to convert it. So even if you make the NCX multilevel, it won't be multilevel on your Kindle. The only way to have a multilevel ToC is to get a different device that supports ePub.
|
08-31-2011, 02:09 PM | #9 |
Junior Member
Posts: 9
Karma: 10
Join Date: Aug 2011
Device: Kindle 3
|
Yes, yes, I understand that, that wasn't the issue at all.
What I am saying is, that some ePUBs with multilevel TOCs get converted one way, and others in another. Their TOC looks the same, but in MOBI some look different. Most of them have indents (what I want) some don't. Why is this. |
08-31-2011, 02:20 PM | #10 |
Resident Curmudgeon
Posts: 73,957
Karma: 128903250
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
No idea why some ToC entries get indents in the mobi file and some don't. I've not really converted a lot to Mobipocket. When I first started reading eBooks, I used MS Reader mostly and then ePub.
|
08-31-2011, 11:51 PM | #11 |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
|
09-01-2011, 12:52 PM | #12 |
Junior Member
Posts: 9
Karma: 10
Join Date: Aug 2011
Device: Kindle 3
|
Okay, I understand everything. Thanks for the responses guys.
The answer to my question is, I guess, bad formatting. I will format my books in ePUB from now on, then convert for Kindle. |
09-02-2011, 02:15 PM | #13 |
Junior Member
Posts: 8
Karma: 10
Join Date: Jul 2011
Device: none
|
I think I have been having the same problem, I think.
Here's the path my document takes. (Working with calibre on a Mac.) Word > html on desktop >add to calibre >convert to Mobi I managed to set up a multi-level TOC that displays correctly within the Mobi ebook when viewed on the Kindle desktop app for Mac, but the TOC that the app itself displays outside the ebook (when you click the app's TOC icon) does not display the multiple levels. The TOC has 2 levels. For level one, I used the XPath expression //h:h1. For level 2, I used the XPath expression//h:h2. Below is a jpg of a dummy version. Note that in the Kindle TOC (left side) it seems as though the chapters in "Story Two" are part of "Story One". My question: Can calibre be configured so that Kindle displays the indented chapters, or should I just scrap the levels? Last edited by sdfs; 09-02-2011 at 02:26 PM. |
09-02-2011, 02:21 PM | #14 |
Junior Member
Posts: 9
Karma: 10
Join Date: Aug 2011
Device: Kindle 3
|
I think this answers your question http://manual.calibre-ebook.com/faq....-in-mobi-files
in short: it's a limitation of the mobi format. |
09-02-2011, 02:25 PM | #15 |
Junior Member
Posts: 8
Karma: 10
Join Date: Jul 2011
Device: none
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Release : New Tool to Edit ePubs TOC, Edit with Sigil and keep you TOC | Nigol | ePub | 105 | 10-29-2012 11:40 AM |
MultiLevel TOC Sigil | HopelessManu | Sigil | 9 | 01-02-2011 02:03 PM |
Multilevel TOC | MovieBird | ePub | 2 | 05-02-2010 10:37 PM |
Preserving TOC upon conversion from Lit to Mobi | mobelby | Calibre | 0 | 07-31-2009 07:59 AM |
TOC no longer works after Mobi -> LRF conversion... | rroberrto | Calibre | 3 | 07-07-2009 01:22 AM |