MobileRead Forums

MobileRead Forums (https://www.mobileread.com/forums/index.php)
-   Kindle Formats (https://www.mobileread.com/forums/forumdisplay.php?f=168)
-   -   kindlegen epub to mobi - TOC intention level incorrect (https://www.mobileread.com/forums/showthread.php?t=155812)

vogella 11-03-2011 12:25 PM

kindlegen epub to mobi - TOC intention level incorrect
 
I have a epub file with three levels of in the table of content. If I convert them to mobi via kindlegen the intention level is correct.

For example the TOC in epub looks like the following:

http://www.vogella.de/tmp/epubtoc.png

And the resulting mobi TOC looks like the following

http://www.vogella.de/tmp/mobitoc.png

Here is an example epub and example mobi:

http://www.vogella.de/tmp/book.epub

http://www.vogella.de/tmp/book.mobi

Any advice how to make the TOC look good?

ebookineur 11-03-2011 08:10 PM

Your toc is using definition list tags dl/dt/dd and the support of those tags in Kindle is known to be deficient and that's not the best tag to use to format a table of content.

The solution would be to rewrite your toc file using other tags, such as may be nested blockquotes.

DiapDealer 11-03-2011 10:30 PM

Quote:

Originally Posted by ebookineur (Post 1816874)
The solution would be to rewrite your toc file using other tags, such as may be nested blockquotes.

The problem is that <a /> tags inside a <blockquote> won't pass epub validation. This is one of those areas where it's rather hard to maintain a single (valid) epub source that will produce similar visible results when converted to mobi.

vogella 11-04-2011 05:02 AM

Thanks for the answers. Seems like their is not a simple solution. I reduced my TOC to two levels and now it seems to be working fine after the conversion.

Maybe this is even a feature, a deeply nestled TOC is maybe not the best for e-reader.


All times are GMT -4. The time now is 05:55 PM.

Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.