View Single Post
Old 03-22-2011, 06:12 AM   #21
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
Quote:
Originally Posted by crutledge View Post
I am wrestling with Sigil 4.0. The attached html file passes Sigil 3.4 with no problems/errors.
I see no problem with Sigil 0.4.0b2 behaviour here (except the semantics, that doesn't work).

Opening your HTML file in Sigil 0.4.0b2 creates a nice OPF. It's a different OPF than the one you posted, but the one you posted makes no sense. It lists images etc. and you only provided an HTML file. There are no images in your RAR, and thus none are imported.

If you just pasted the OPF from your post into Sigil, then that's not going to work. Again, the OPF from your post lists images and other files in the manifest, and they don't exist in the epub. Of course FlightCrew is going to complain about that, it's supposed to.

The FC complaint about a reference to Section0001.xhtml comes from the NCX. You just opened an HTML file. This updated the OPF, but not the NCX (maybe I should make opening HTML files create a heading-based NCX...). The NCX you currently have is the "default" one, the one referencing Section0001.xhtml. Just generate a new TOC and that reference (and the FC error report) will go away.

WRT random TOC generation... again, I can't reproduce that. When I open you file and press the "Generate..." button, a nice TOC is built. There's nothing random about it. Every heading gets an entry in the NCX in the order in which it appears.
Valloric is offline   Reply With Quote