I named the XHTML TOC file “contents.html,” with the HTML <title> “Contents”, and I added it to the toc.ncx file as follows:
<navPoint>
<navLabel>
<text>Contents</text>
</navLabel>
<content src="contents.html"/>
</navPoint>
Everything looked right in Adobe Digital Editions:
But in iBooks, the reference to my Contents page didn’t show up in the NCX TOC:
I tried adjusting the <text> in the toc.ncx to “Table of Contents,” but to no avail. My gut told me that the problem had to be with the word “Contents,” so I went through and changed each occurrence of that word one by one (the HTML filename, the HTML title, and the <text> label in the toc.ncx). It took a bit of time, but I finally narrowed down the problem to the toc.ncx: for some reason, iBooks doesn’t like the word “Contents” or “Table of Contents” in the <text> label there.
The solution was very simple: add a few blank spaces after the word “Contents,” by pressing the space bar (i.e., you don’t need to add nbsp characters or anything fancy like that).*
The new toc.ncx code:
<navPoint>
<navLabel>
<text>Contents </text>
</navLabel>
<content src="contents.html"/>
</navPoint>
Success!
*(I also tried adding some Unicode in place of a couple characters in the word “Contents”, but iBooks was too smart for that.)




Help







