Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 07-09-2013, 06:34 AM   #1
rbay
bay
rbay began at the beginning.
 
Posts: 17
Karma: 10
Join Date: May 2013
Device: ipad mini+samsung galaxi
Help Validation

I do not understand exactly what going on, but I can not get out the validation using Sigil+ePubcheck.

If some one can give me some way to follow, it will be marvelous.

regards,
bay

9 juil. 2013 12:20:22

FILE: 130709-3-F-LGR.epub …has 16 error(s)

ERROR: /OEBPS/content.opf(16,39): Undecleared prefix: rendition
ERROR: /OEBPS/content.opf(20,80): attribute "opf:event" not allowed here; expected attribute "id"
ERROR: /OEBPS/content.opf(3,57): assertion failed: package dcterms:modified meta element must occur exactly once
ERROR: /OEBPS/content.opf(22,13): assertion failed: Exactly one manifest item must declare the 'nav' property (number of 'nav' items: 0).
ERROR: /OEBPS/Styles/style.css: Font-face reference OEBPS/Fonts/QuattrocentoSans-Regular.ttfto non-standard font type application/x-font-ttf
ERROR: /OEBPS/Styles/style.css: Font-face reference OEBPS/Fonts/EBGaramond-Regular.ttfto non-standard font type application/x-font-ttf
ERROR: /OEBPS/Styles/style.css: Font-face reference OEBPS/Fonts/QuattrocentoSans-Bold.ttfto non-standard font type application/x-font-ttf
ERROR: /OEBPS/Styles/style.css: Font-face reference OEBPS/Fonts/QuattrocentoSans-Italic.ttfto non-standard font type application/x-font-ttf
ERROR: /OEBPS/Text/Section0002.xhtml: This file should declare in opf the property: svg
ERROR: /OEBPS/Text/Section0004.xhtml: This file should declare in opf the property: svg
ERROR: /OEBPS/Text/Section0008.xhtml: This file should declare in opf the property: svg
ERROR: /OEBPS/Text/Section0010.xhtml: This file should declare in opf the property: svg
ERROR: /OEBPS/toc.ncx(24,63): 'sigil_toc_id_1': fragment identifier is not defined in 'OEBPS/Text/Section0001.xhtml'
ERROR: /OEBPS/toc.ncx(29,65): 'sigil_toc_id_2': fragment identifier is not defined in 'OEBPS/Text/Section0002.xhtml'
ERROR: /OEBPS/toc.ncx(35,65): 'sigil_toc_id_3': fragment identifier is not defined in 'OEBPS/Text/Section0002.xhtml'
ERROR: /OEBPS/toc.ncx(41,65): 'sigil_toc_id_4': fragment identifier is not defined in 'OEBPS/Text/Section0002.xhtml'
END OF FILE ERRORS

Used library: EpubCheck 3.0b5

---------- END OF CHECK RESULTS ----------
rbay is offline   Reply With Quote
Old 07-09-2013, 07:00 AM   #2
mzmm
Groupie
mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.
 
mzmm's Avatar
 
Posts: 171
Karma: 86271
Join Date: Feb 2012
Device: iPad, Kindle Touch, Sony PRS-T1
well, it seems like you're trying to create/validate an epub3 in sigil, which only supports epub2 right now.

for example, this error

Code:
ERROR: /OEBPS/Text/Section0002.xhtml: This file should declare in opf the property: svg
is being generated because the epub3 spec states that you need to attach a properties attribute to references to elements that contain scripts and svg, for example. in the manifest it would look like:

Code:
<item href="../Text/page.xhtml" id="page1" properties="svg"/>
other errors seem also epub3 specific, like the requirement for a 'nav' in the manifest.

you should check out the epub3 specs for more info, or think about changing the file to an epub2 for better reader support
mzmm is offline   Reply With Quote
Advert
Old 07-09-2013, 08:02 AM   #3
rbay
bay
rbay began at the beginning.
 
Posts: 17
Karma: 10
Join Date: May 2013
Device: ipad mini+samsung galaxi
Yes, That's right !

I read Sigil wasn't for ePub3, but I thought I could change the code directly ?

I thought it was possible to add manualy a nav file. Does it seems it can't ?

I uncheck the preference to write on the source code.
But Sigil changed it anyway... At the end, I could get the ePub with 16 errors, which are concerning ePub3 semantics.

Now I'm on the last step, and I don't really know how it could run through.

Should I use an other software ?

I saw BlueGriffon epubedition... but it looks like Sigil

Should I write directly with a Txt Editor ?

Thanks for your advices,
regards
bay
rbay is offline   Reply With Quote
Old 07-09-2013, 08:14 AM   #4
mzmm
Groupie
mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.
 
mzmm's Avatar
 
Posts: 171
Karma: 86271
Join Date: Feb 2012
Device: iPad, Kindle Touch, Sony PRS-T1
Quote:
Originally Posted by rbay View Post
Should I use an other software ?

I saw BlueGriffon epubedition... but it looks like Sigil
i'm unfamiliar with this software so can't really say, and i don't know of any epub3 WYSIWYG software out there right now.

Quote:
Originally Posted by rbay View Post
Should I write directly with a Txt Editor ?
i find that this is preferable.

i'll point out again, though, that there are virtually no distribution platforms for epub3. unless your book's for personal use, or your distributing it via your own website, or you're going exclusively through Apple, then i'd suggest you just change the book to an epub2 and keep on using sigil.

unless there's another reason you want to use epub3?
mzmm is offline   Reply With Quote
Old 07-09-2013, 08:18 AM   #5
rbay
bay
rbay began at the beginning.
 
Posts: 17
Karma: 10
Join Date: May 2013
Device: ipad mini+samsung galaxi
for the font, it sounds the right format is otf.

and to get the font in a iPad :
<package xmlns="http://www.idpf.org/2007/opf" unique-identifier="bookid" version="3.0" prefix="rendition: http://www.idpf.org/vocab/rendition/# ibooks: http://vocabulary.itunes.apple.com/rdf/ibooks/vocabulary-extensions-1.0/">

with
<meta property="ibooks:specified-fonts">true</meta>
rbay is offline   Reply With Quote
Advert
Old 07-09-2013, 08:19 AM   #6
rbay
bay
rbay began at the beginning.
 
Posts: 17
Karma: 10
Join Date: May 2013
Device: ipad mini+samsung galaxi
Fixed Layout !

It's an Art book.
epub2 is ok with texts, but with some image, it does't run very well.

Thanks for your answer, I figured it..
rbay is offline   Reply With Quote
Old 07-09-2013, 08:38 AM   #7
rbay
bay
rbay began at the beginning.
 
Posts: 17
Karma: 10
Join Date: May 2013
Device: ipad mini+samsung galaxi
but I don't like code...
rbay is offline   Reply With Quote
Old 07-09-2013, 10:59 AM   #8
rbay
bay
rbay began at the beginning.
 
Posts: 17
Karma: 10
Join Date: May 2013
Device: ipad mini+samsung galaxi
Hei again,

Thanks for your fast answer !

I still have 2 errors... and really don't know how to get out of them using Sigil.
When I deleted the attribute from the contents' file, Sigil is rewriting them...

Do I miss something with attributes ?

Here is the ePubcheck

9 juil. 2013 16:54:22
FILE: 130709-7-F-LGR.epub …has 2 error(s)

ERROR: /OEBPS/content.opf(18,73): attribute "opf:role" not allowed here; expected attribute "dir", "id" or "xml:lang"
ERROR: /OEBPS/content.opf(19,80): attribute "opf:event" not allowed here; expected attribute "id"
END OF FILE ERRORS

Used library: EpubCheck 3.0b5

---------- END OF CHECK RESULTS ----------

Thanks in advance and sorry for my english...

.

Last edited by rbay; 07-09-2013 at 01:17 PM.
rbay is offline   Reply With Quote
Old 07-09-2013, 02:01 PM   #9
mzmm
Groupie
mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.
 
mzmm's Avatar
 
Posts: 171
Karma: 86271
Join Date: Feb 2012
Device: iPad, Kindle Touch, Sony PRS-T1
Quote:
Originally Posted by rbay View Post
Hei again,

Thanks for your fast answer !

I still have 2 errors... and really don't know how to get out of them using Sigil.
When I deleted the attribute from the contents' file, Sigil is rewriting them...

Do I miss something with attributes ?

Here is the ePubcheck

9 juil. 2013 16:54:22
FILE: 130709-7-F-LGR.epub …has 2 error(s)

ERROR: /OEBPS/content.opf(18,73): attribute "opf:role" not allowed here; expected attribute "dir", "id" or "xml:lang"
ERROR: /OEBPS/content.opf(19,80): attribute "opf:event" not allowed here; expected attribute "id"
END OF FILE ERRORS

Used library: EpubCheck 3.0b5

---------- END OF CHECK RESULTS ----------

Thanks in advance and sorry for my english...

.
i believe that the 'opf:...' syntax is no longer used in epub3. the structure of the metadata where you want to include information about the author should look something like

Code:
    <dc:creator id="creator">Haruki Murakami</dc:creator>
    <meta refines="#creator" property="role" scheme="marc:relators" id="role">aut</meta>
    <meta refines="#creator" property="alternate-script" xml:lang="ja">村上 春樹</meta>
    <meta refines="#creator" property="file-as">Murakami, Haruki</meta>
where meta tags 'refine' particular elements. more in the spec

i really do think that sigil is just going to continue to frustrate your attempts to make it make epub3s, though, and that it will be easier to just crack open the epub and make the changes with a text-editor. either that or see if you can find an epub3 metadata editor somewhere online.
mzmm is offline   Reply With Quote
Old 07-09-2013, 03:04 PM   #10
rbay
bay
rbay began at the beginning.
 
Posts: 17
Karma: 10
Join Date: May 2013
Device: ipad mini+samsung galaxi
Thanks mxmm !

Your are right... Sounds necessary to use a text editor.
I tried to find a ePubeditor online (which was able to support ePub3), but didn't.
Well, except BlueGriffon, but around 200e (250$)...
humm. The screenshots didn't convince me enough, and I fill Sigil powerful.
Hope the update will be soon available.

Great Forum !
Thanks.
rbay is offline   Reply With Quote
Old 07-09-2013, 03:25 PM   #11
mrmikel
Color me gone
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
The problem is that it is a lot of work to essentially make two standards compatible in one piece of software.

There are many people that would not welcome Sigil producing valid epub3, but invalid epub2s.
mrmikel is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
InDesign, validation Will D. Rhame ePub 5 11-30-2011 10:57 AM
Validation Errors mpresley ePub 7 10-27-2011 02:41 AM
help with validation please ladywiththepants ePub 4 07-20-2011 02:27 AM
Validation issues Alda Sigil 18 01-30-2011 01:42 PM
Validation Brianigoe Conversion 4 01-28-2011 02:17 AM


All times are GMT -4. The time now is 08:17 AM.


MobileRead.com is a privately owned, operated and funded community.