View Single Post
Old 09-25-2012, 07:59 AM   #74
elibrarian
Imperfect Perfectionist
elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.elibrarian ought to be getting tired of karma fortunes by now.
 
elibrarian's Avatar
 
Posts: 466
Karma: 724664
Join Date: Dec 2011
Location: Ølstykke, Denmark
Device: none
Quote:
Originally Posted by crutledge View Post
1. Open file in Sigil. Run Flight Crew.
2. Press F6 to split. Run Flight Crew
It seems you need to regenerate the TOC after split. If you don't, there will be some links in the TOC like:

<content src="Text/#"/>

Below, I split right after

<h2 title="COVER"><img alt="" src="Images/cover.jpg" title="" /></h2>
<hr class="sigilChapterBreak" />

in the HTML-file, and then the first part of the TOC looks like this:

<navMap>
<navPoint id="navPoint-1" playOrder="1">
<navLabel>
<text>COVER</text>
</navLabel>
<content src="Text/The%20Brass%20Bottle.htm"/>
</navPoint>
<navPoint id="navPoint-2" playOrder="2">
<navLabel>
<text>TITLE PAGE</text>
</navLabel>
<content src="Text/#"/>
</navPoint>
<navPoint id="navPoint-3" playOrder="3">
<navLabel>
<text>TABLE of CONTENTS</text>
</navLabel>
<content src="Text/#"/>
</navPoint>
<navPoint id="navPoint-4" playOrder="4">
<navLabel>
<text>FRONTPIECE</text>
</navLabel>
<content src="Text/#"/>
</navPoint>
<navPoint id="navPoint-5" playOrder="5">
<navLabel>
<text>CHAPTER I HORACE VENTIMORE RECEIVES A COMMISSION</text>
</navLabel>
<content src="Text/Section0001.xhtml#Ch_I"/>
</navPoint>

It all comes down to, that your Cover, Title Page, Table of Contents and frontpiece doesn't have an "id=". Even if Sigil shows the <h1>, <h2> etc. in the TOC window, it doesn'nt create the links (if they are not present), until you press "Generate Table of Contents" (the cover actually gets a link when splitting, but only to the file, not any id, because there isn't any.)

Regards,

Kim N. Jensen
elibrarian is offline