05-14-2011, 11:53 AM | #1 |
Enthusiast
Posts: 35
Karma: 2000
Join Date: Dec 2010
Device: none
|
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 |
05-14-2011, 12:16 PM | #2 |
frumious Bandersnatch
Posts: 7,517
Karma: 19000001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
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" /> |
Advert | |
|
05-14-2011, 02:13 PM | #3 |
Wizard
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
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... ? |
05-14-2011, 02:53 PM | #4 | |
Well trained by Cats
Posts: 30,000
Karma: 57259778
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
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 . |
|
05-14-2011, 05:09 PM | #5 |
Wizard
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
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. 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. Last edited by roger64; 05-14-2011 at 05:27 PM. |
Advert | |
|
05-14-2011, 07:23 PM | #6 | |
Well trained by Cats
Posts: 30,000
Karma: 57259778
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
It is a major PITA to dock a detached Sigil window. |
|
05-15-2011, 02:39 AM | #7 |
Wizard
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
No PITA. Only one head here.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Page Mapping Using toc.ncx | lorddon | ePub | 35 | 01-16-2018 12:18 PM |
Is there a size limit for TOC.ncx? | osnova | Kindle Formats | 10 | 10-21-2011 01:41 AM |
NCX From Html TOC | Unno | Kindle Formats | 20 | 09-16-2011 09:31 AM |
Syntax for toc.ncx Levels 1 and 2? | NewDay | ePub | 7 | 04-04-2011 04:09 PM |
Inline TOC from toc.ncx | elmago79 | Kindle Formats | 38 | 03-25-2011 12:56 PM |