![]() |
sigil doesn't see the TOC.ncx for some reason.
I'm admittedly new to Sigil, though I understand ePub basics and structure. I have a book that was initially converted to ePub from InDesign (ouch).. After much tweaking it was coming along nicely, until opening it in Sigil and trying to validate the ePub file. Having no warning that the files would get moved to /Text was a bummer, which messed up things and screwed the validation. But no worries, I simply rebuilt it in Sigil, thinking that would me it internally consistent.
I thought I was okay, until I needed to keep the original TOC. I've put the TOC.ncx where it should be, and it is in the OPF...but opening the .ePub afterwards shows no TOC at all now (it was working in the original ePub). Opening the book in ADE or Calibre, the book is there, but it says there is no TOC for it. Anyone know why if the TOC is in the package it might be totally ignored? I wonder if there is some internal reference I'm missing. BTW, in Sigil with the TOC in there, the TOC editor also opens blank. (Afterthought: ...as nice as Sigil is...it seems to me we need an option to leave internal structure alone since whether Sigil thinks its standard or not, its obviously not what is in standard use yet. A pop-up warning with a choice would be nice. -JTT |
The TOC must be referenced in the <spine> section of the OPF:
Code:
<spine toc="ncx">Code:
<item id="ncx" href="toc.ncx" media-type="application/x-dtbncx+xml" /> |
Not sure I understand.
Take the same EPUB. Using Sigil with Wine on Linux. - opened with Sigil 0.2.4. There is a TOC editor (F7) and I can see the TOC. - opened with Sigil 0.4 beta. No TOC Editor. Something seems to be missing or... ? |
Quote:
Sigil will no longer destroy an existing TOC (NCX file), you may edit it by hand or press the button to cause Sigil to do it the old way :P . |
Oh, sorry. I should have read it. Thanks.
http://sigildev.blogspot.com/2011/03/sigil-0401.html Now, I am just trying to attach again the book browser window. :blink: It seems that the right click with "restauration" does not work with Wine. Will have to download a new Sigil and never touch again this little button. :) Done. Now with beta 3. |
Quote:
It is a major PITA to dock a detached Sigil window. |
No PITA. Only one head here. :p
|
| All times are GMT -4. The time now is 06:50 PM. |
Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.