Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > Kindle Formats

Notices

Reply
 
Thread Tools Search this Thread
Old 11-03-2011, 12:25 PM   #1
vogella
Junior Member
vogella began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Oct 2011
Device: Kindle
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:



And the resulting mobi TOC looks like the following



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?

Last edited by vogella; 11-03-2011 at 12:51 PM.
vogella is offline   Reply With Quote
Old 11-03-2011, 08:10 PM   #2
ebookineur
Junior Member
ebookineur began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Nov 2011
Device: none
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.
ebookineur is offline   Reply With Quote
 
Advertisement
Old 11-03-2011, 10:30 PM   #3
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 9,424
Karma: 43260000
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by ebookineur View Post
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.

Last edited by DiapDealer; 11-03-2011 at 11:33 PM.
DiapDealer is online now   Reply With Quote
Old 11-04-2011, 05:02 AM   #4
vogella
Junior Member
vogella began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Oct 2011
Device: Kindle
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.
vogella is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
KindleGen: Epub to Mobi conversion virtual_ink Kindle Formats 21 11-18-2011 09:00 AM
kindlegen epub to mobi - lists are incorrectly displayed vogella Kindle Formats 5 10-28-2011 03:53 PM
Multi-level TOC broken in epub->epub conversion siebert Conversion 14 03-09-2011 06:38 PM
Troubleshooting TOC fails in Kindlegen 1.1, not Kindlegen 1.0 cyberbaffled Amazon Kindle 3 12-25-2010 06:21 PM
ePub, 505 and multi-level ToC JSWolf Calibre 4 06-04-2009 03:12 PM


All times are GMT -4. The time now is 10:55 AM.


MobileRead.com is a privately owned, operated and funded community.