NCX Toc file formatting

Building the ncx file for joystick navigation on the Kindle has been proving fun. After debugging a couple of mis-spelt anchor points it now works nicely except for a bug in Kindles formatting.

All the chapter headers were formatted like

<a name=”Chapter_1″><h3 height=”30″><i>Chapter 1</i></h3></a>

before building the ncx file the formatting looked spot on, once the ncx file was built and linked to the anchor points it removed all the formatting from the enclosed text. We have two solutions to try:

  1. Move the anchor tags inside the text formatting
  2. Change to <a name=”Chapter_1″ /> style tags

We will be reformatting and rebuilding later today and will see which options works best.

 

Leave a Reply