View Single Post
Old 06-10-2017, 10:06 AM   #3
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 7,603
Karma: 5433388
Join Date: Nov 2009
Device: many
The problem is that your content.opf has a guide setting that says that you already have a html toc and that it is actually your main document! This causes the main document to be either replaced or the whole thing to crash since it is circular.

Sigil should not crash ever so I will look into detecting this circularity and preventing the crash in a future release.

In the meanwhile, you need to manually remove this incorrect circularity:

1. Open the content.opf for editing and remove the following line in the guide section:

Code:
<reference type="toc" title="Table of Contents" href="Text/Nail_Your_Story.xhtml#_idContainer001"/>
This is the line that says your main chapter is actually your html toc when it clearly is not. Also your current file "toc.xhtml" is actually your required epub3 "nav" which fills the roll of a html toc and InDesign has set it to come last in your spine order.

If you do add another html toc, you should probably make sure the required current nav is not in the spine otherwise you will have two copies of the html toc on display to the user.

Thanks for your bug report and testcase.

Last edited by KevinH; 06-10-2017 at 12:22 PM.
KevinH is online now   Reply With Quote