View Single Post
Old 08-29-2011, 11:08 PM   #27
virtual_ink
Zealot
virtual_ink can extract oil from cheesevirtual_ink can extract oil from cheesevirtual_ink can extract oil from cheesevirtual_ink can extract oil from cheesevirtual_ink can extract oil from cheesevirtual_ink can extract oil from cheesevirtual_ink can extract oil from cheesevirtual_ink can extract oil from cheese
 
virtual_ink's Avatar
 
Posts: 107
Karma: 1000
Join Date: Sep 2010
Location: Melbourne, Australia
Device: iPad2, Kindle
Thanks JSWolf. I think that would work - however, I actually posted code from the wrong file! For the record, here's what I should have posted, and it works.

Original code:
<h2 id="toc_marker-6" class="sectiontitle"><span class="Bold"><a id="Contributors"/>Contributors</span></h2>

Edited code:
<a id="Contributors"/><h2 id="toc_marker-6" class="sectiontitle"><span class="Bold">Contributors</span></h2>

This validates, and works in Kindle (with no lost H tags!). Thanks all for your help.

@DiapDealer

Quote:
There is no navigational TOC

Not exactly sure what you mean, but the toc.ncx file will only be used to create chapter "jump points" that can be navigated using the Kindle's five-way controller. They'll be represented as dots on the progress bar. If there is no in-line (html with the "toc" semantic assigned) toc, kindlegen does not create one from the toc.ncx.
I assumed Kindle would have a similar navigational TOC to iBooks (the one accessed with the little icon at the top of the page). From what I understand now, the Kindle device doesn't have that function, and must have a TOC page within the text. Please correct me if I'm wrong.

What threw me, was that in the Kindle app for iPad - if I use the 'Go to' icon - a submenu opens and an option for 'Table of Contents' is greyed out with a note "Not available for this title".

As I have a linked TOC page at the front of the book, perhaps I am providing all that is needed. What you are describing in the progress bar sounds helpful. i wonder why Kindlegen isn't generating this from the original epub toc.ncx

Last edited by virtual_ink; 08-29-2011 at 11:11 PM.
virtual_ink is offline   Reply With Quote