View Single Post
Old 03-18-2010, 12:34 AM   #1
Shiren
Connoisseur
Shiren will become famous soon enoughShiren will become famous soon enoughShiren will become famous soon enoughShiren will become famous soon enoughShiren will become famous soon enoughShiren will become famous soon enoughShiren will become famous soon enough
 
Shiren's Avatar
 
Posts: 70
Karma: 712
Join Date: Dec 2008
Device: Sony PRS-505/iPod Touch
Table of contents problems

I'm trying to link to files with anchors in my table of contents. I have something like this somewhere in a book2.xhtml file:
Code:
<a name="chap12">Chapter 12</a>
In my TOC.ncx file I have something like this:
Code:
<navPoint id="toc22" playOrder="22">
  <navLabel>
    <text>Chapter 12</text>
  </navLabel>
  <content src="book2.xhtml#chap12"/>
</navPoint>
My Sony reader and library do not work with this, they just open the next xhtml file instead. Calibre seems to accept it though. Am I doing something wrong?
Shiren is offline   Reply With Quote