10-19-2012, 01:39 AM | #1 |
Junior Member
Posts: 5
Karma: 10
Join Date: Oct 2012
Device: ipad
|
Does Sigil filter/strip out any epub3 code when saving?
I am using a music notation program called Finale 2012 to create an epub3 document filled with various pieces of sheet music. When this raw document is uploaded to Amazon for publishing it looks great in the online previewer except that there is no Table of Contents included (Finale 2012 does not provide that capability). All of the sheet music glyphs look the way they are supposed to.
The problem is that when I edit the raw epub file and add anything to the TOC, even as simple as changing the Title of the one existing TOC entry (using Sigil to do the editing) all of the sheet music turns into garbage characters once converted to MOBI. The only thing I am doing is adding navpoints such as these (there are 21 nav points in all): This is an example of the toc.ncx after I have edited it (additional navpoint entries have been removed for space): Code:
<?xml version="1.0" encoding="UTF-8"?> <ncx xmlns:ncx="http://www.daisy.org/z3986/2005/ncx/" xmlns="http://www.daisy.org/z3986/2005/ncx/" version="2005-1" xml:lang="en"> <head> <meta name="dtb:uid" content="http://example.org/dummy/URIstub/"/> <meta name="dtb:depth" content="1"/> <meta name="dtb:totalPageCount" content="0"/> <meta name="dtb:maxPageNumber" content="0"/> </head> <docTitle> <text>My Book Title</text> </docTitle> <navMap> <navPoint id="p1" playOrder="1"> <navLabel> <text>Song Title 1</text> </navLabel> <content src="Text/p004.html"/> </navPoint> <navPoint id="p2" playOrder="2"> <navLabel> <text>Song Title 2</text> </navLabel> <content src="Text/p005.html"/> </navPoint> </navMap> </ncx> Does Sigil strip out any code that Finale might be putting into the epub3 document when it saves? Any help or ideas would be greatly appreciated. I can provide additional code from the epub if needed. |
10-19-2012, 02:27 AM | #2 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Sigil is an ePUB2 editor, not ePUB3. Although work is being done to support ePUB3, it is not there yet. A lot of specific ePUB3 stuff will be removed.
If I recall correctly, the toc.ncx is not an ePUB3 item anymore. It may be there for compatibility, but it is not part of the specs anymore. |
10-19-2012, 11:21 PM | #3 | |
Wizard
Posts: 1,759
Karma: 30063305
Join Date: Dec 2006
Location: Singapore
Device: Boyue
|
Quote:
without putting it thru sigil https://code.google.com/p/epubfixer/ |
|
10-24-2012, 07:10 PM | #4 | |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Quote:
Dale |
|
10-25-2012, 09:54 AM | #5 |
Color me gone
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
Does mobi use toc.ncx or just an html index?
|
10-25-2012, 11:52 AM | #6 |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
the format for mobi only uses an html index and it requires a special identifier so that the program can find it. However the Kindle conversion program does use the toc.ncx file to provide the chapter markers found in the progress bar. Once the conversion is made the toc.ncx is not used.
Dale |
10-25-2012, 01:33 PM | #7 | |
Grand Sorcerer
Posts: 27,545
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
Last edited by DiapDealer; 10-25-2012 at 01:42 PM. |
|
10-25-2012, 01:41 PM | #8 | |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Quote:
Dale |
|
10-25-2012, 01:58 PM | #9 |
Grand Sorcerer
Posts: 27,545
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
No, the target device has no bearing on the file that KindlePreviewer ultimately creates. It, and the command-line kindlegen both build the joint MOBI/KF8 exclusively, now. Thanks for the wiki pointer, but I have a fairly decent grasp of MOBI/KF8 and the PRC container details.
I was just pointing out that while you're right -- the mobi format itself makes no use of the NCX file past conversion -- users are no longer able to create an ebook in "just the mobi format" with Amazon's latest toolset. Hence: they may as well get used to the idea that NCX files are going to be increasingly "used" by devices that utilize kindle/amazon formats. Last edited by DiapDealer; 10-25-2012 at 02:01 PM. |
10-25-2012, 04:18 PM | #10 |
Color me gone
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
I was wondering if his problem had anything to with EPUB3 at all? I do notice that the Sigil head is different from his and that he is pointing off onto the web.
Could these be issues? |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Changes not saving until I exit out of Sigil... | ElMiko | Sigil | 8 | 03-26-2012 07:14 AM |
epub3 Sigil Poetry(fixed layout) | Giggleton | Sigil | 7 | 04-04-2011 12:58 PM |
Are the SGC_# a sigil code? | JaneFancher | Sigil | 14 | 09-06-2010 04:08 AM |
Sigil Crashes on Saving (Max OSX10.5) | NeilPetrunia | Sigil | 8 | 03-26-2010 06:01 PM |
Sigil crashes when saving | Sanderfox | Sigil | 8 | 02-25-2010 11:50 AM |