Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 11-03-2011, 11:25 AM   #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 11:51 AM.
vogella is offline   Reply With Quote
Old 11-03-2011, 07: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
Advert
Old 11-03-2011, 09: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: 27,552
Karma: 193191846
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 10:33 PM.
DiapDealer is offline   Reply With Quote
Old 11-04-2011, 04: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


Forum Jump

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


All times are GMT -4. The time now is 03:22 PM.


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