View Single Post
Old 08-17-2011, 06:05 AM   #5
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 3,183
Karma: 7180223
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
Quote:
Originally Posted by Caleb666 View Post
So how do I make Sigil generate a proper NCX from that inline TOC?

The chapter headings in this book (Dan Brown's The Lost Symbol - Illustrated Edition) are images. The heading for the first chapter looks like this:
Code:
  <h1 class="calibre7 sigilNotInTOC" id="filepos67125"><span class="calibre8 bold"><img alt="" class="calibre5" src="../Images/00030.jpg" /></span></h1>
I think that the reason it has "sigilNotInTOC" is because all those chapters appeared as TOC entries with no text, so I hid them in Sigil.
You cannot let Sigil generate a TOC from the inline TOC. It will use the headers. It is no problem, that the headers don't have text. Like Charleski said, use the title attribute for that.

To use your example, that would be something like:

Code:
  <h1 class="calibre7 sigilNotInTOC" id="filepos67125" title="Chapter 30"><span class="calibre8 bold"><img alt="" class="calibre5" src="../Images/00030.jpg" /></span></h1>
If you now recreate the TOC.ncx, the entry would be 'Chapter 30'.
Toxaris is offline   Reply With Quote