06-05-2012, 10:23 AM | #1 |
Junior Member
Posts: 6
Karma: 10
Join Date: Jun 2012
Device: ipad
|
PROBLEM TOC VALIDATION ERROR IN SIGIL
Hello everybody,
I have created an epub book which works great in my Ipad. I have first created it whith Sigil and then convert it with Calibre. But when i try to validate it in Sigil (after conversion in Calibre) i have this errors messages (the "titlepage.xhtml" is my cover page and this is also my first Chapter in my Table of contents which works perfectly in my IPAD): OEBPS/OEBPS/Text/titlepage.xhtml This OPS document is reachable but not present in the OPF <spine>. "Reachable" means that a reference of some kind that points to this resource exists in the epub. OEBPS/OEBPS/Text/titlepage.xhtml This resource is reachable but not present in the OPF <MANIFEST>. "Reachable" means that a reference of some kind that points to this resource exists in the epub. I'm a beginner and thank you very much for helping me. Ibn |
06-05-2012, 10:24 AM | #2 |
eBook Enthusiast
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
Please post in the correct forum section. I'm moving your post to the ePub forum.
|
Advert | |
|
06-05-2012, 12:25 PM | #3 | |
Connoisseur
Posts: 66
Karma: 12538
Join Date: Oct 2011
Device: Kobo Wifi, Kobo Glo HD
|
Quote:
That "OEBPS/OEBPS/" looks suspicious. Can you check your content.opf file and see if the reference to your file is: "OEBPS/Text/titlepage.xhtml" or "Text/titlepage.xhtml" It should probably be the second one unless you had a second OEBPS directory added inside the original OEBPS directory somehow. Bryan |
|
06-05-2012, 12:42 PM | #4 |
Junior Member
Posts: 6
Karma: 10
Join Date: Jun 2012
Device: ipad
|
Hi Bryan,
In the content.opf file the reference is : "Text/titlepage.xhtml" Thank you |
06-05-2012, 02:19 PM | #5 |
Connoisseur
Posts: 66
Karma: 12538
Join Date: Oct 2011
Device: Kobo Wifi, Kobo Glo HD
|
Ah, I should probably have guessed that from the fact that it was reachable. If the file is listed in the manifest, then I'm out of ideas and we'll have to wait for someone more knowledgeable than I am to help out.
|
Advert | |
|
06-05-2012, 02:48 PM | #6 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
You should avoid running a conversion of ePUB to ePUB via Calibre. The output out of Sigil should be good enough.
|
06-06-2012, 02:48 AM | #7 |
Junior Member
Posts: 6
Karma: 10
Join Date: Jun 2012
Device: ipad
|
Thank you very much for your answers.
I use calibre to delete the lines spacing and to indent the first paragraphs lines. Well it seems that my problem is about the Table of content. I decided to create it myself in Sigil but when i open it in my IPAD, the title page doesn't appear in the table of content. My title page is also my cover page. I give you below what i typically have in sigil : in the toc.ncx : <?xml version="1.0" encoding="UTF-8" standalone="no" ?><!DOCTYPE ncx PUBLIC "-//NISO//DTD ncx 2005-1//EN" "http://www.daisy.org/z3986/2005/ncx-2005-1.dtd"><ncx xmlns="http://www.daisy.org/z3986/2005/ncx/" version="2005-1"> <head> <meta content="urn:uuid:4c54ff47-0464-4ee9-8993-5cbd15e79405" name="dtb:uid"/> <meta content="0" name="dtb:depth"/> <meta content="0" name="dtb:totalPageCount"/> <meta content="0" name="dtb:maxPageNumber"/> </head> <docTitle> <text>Try</text> </docTitle> <navMap> <navPoint id="navPoint-1" playOrder="1"> <navLabel> <text>Title</text> </navLabel> <content src="Text/titlepage.xhtml"/> </navPoint> </navMap> </ncx> And in the content.opf i have : <?xml version="1.0" encoding="utf-8" standalone="yes"?> <package xmlns="http://www.idpf.org/2007/opf" unique-identifier="BookId" version="2.0"> <metadata xmlns:dc="http://purl.org/dc/elements/1.1/" xmlnspf="http://www.idpf.org/2007/opf"> <dc:identifier id="BookId" opf:scheme="UUID">urn:uuid:4c54ff47-0464-4ee9-8993-5cbd15e79405</dc:identifier> <dc:title>Try</dc:title> <dc:language>fr</dc:language> </metadata> <manifest> <item href="toc.ncx" id="ncx" media-type="application/x-dtbncx+xml" /> <item href="Text/titlepage.xhtml" id="titlepage.xhtml" media-type="application/xhtml+xml" /> <item href="Images/cover.jpg" id="cover.jpg" media-type="image/jpeg" /> <item href="Text/Section0001.xhtml" id="Section0001.xhtml" media-type="application/xhtml+xml" /> </manifest> <spine toc="ncx"> <itemref idref="titlepage.xhtml" /> <itemref idref="Section0001.xhtml" /> </spine> </package> Thank you very much for your help. Ibn |
06-06-2012, 03:28 AM | #8 |
Junior Member
Posts: 6
Karma: 10
Join Date: Jun 2012
Device: ipad
|
Sorry i forgot something :
I tried to type this line in xhtml section : <h1 title="Title page"><img ... ></h1> Or this one before my cover page: <h1 title="Title page"></h1> It worked in my Ipad and i have my Title page in my Table of Contents BUT when i grow the characters in my Ipad for reading (in ibooks options) the Image of my Title page moves. The more i grow the characters and the more the image is getting down in my Ipad until this image ends up in two pages in the Ipad (one part in one page and the other part in the other page) instead one page as i want. Thank you very much. Ibn |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with Sigil Validation | ecojon | Sigil | 3 | 05-16-2012 04:27 AM |
validation problem with Sigil | gpc127 | ePub | 4 | 05-12-2012 07:08 AM |
Need help with Sigil validation error | wraylewis | Sigil | 8 | 12-21-2011 02:46 PM |
Epub validation error (toc) | StirlingEditor | Sigil | 4 | 07-22-2011 09:04 PM |
Sigil epub validation | sassanik | Sigil | 0 | 01-25-2011 11:58 AM |