01-26-2011, 06:41 PM | #1 | ||||
Zealot
Posts: 104
Karma: 22
Join Date: Jun 2010
Device: none
|
Validation issues
Hello,
Am a bit stuck and hoping someone can help. I've just finished setting up my eBook in Sigil and have run a validation test. I get four messages. I'm new to this, however, so they don't make a lot of sense. The messages are: Quote:
Quote:
Quote:
Quote:
Can anyone explain and give me tips on how to fix the problems, assuming that's needed? Incidentally I need idiot-proof instructions. Pls speak to me as you would to a five-year old. Thanks! Alda |
||||
01-26-2011, 07:41 PM | #2 |
Guru
Posts: 655
Karma: 64171
Join Date: Sep 2010
Location: Kent, England, Sol 3, ZZ9 plural Z Alpha
Device: Sony PRS-300, Kobo Aura HD, iPad (Marvin)
|
Open the epub in Sigil, then press F8 (Tools-Metatools), and Fill the main Fields listed.
This will sort the 3rd and 4th points. For the first two, does it say what file is referenced/reached. You might have mispelt a filename which is causing both problems |
Advert | |
|
01-26-2011, 08:24 PM | #3 | |
Well trained by Cats
Posts: 29,689
Karma: 54369090
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Case is important ../images/mypic.jpg is NOT the same as ../Images.mypic.jpg Splitting a document with relative, same page references (#anchor instead of ../Text/Chapter1.html#anchor will bomb the check). Sigil DOES NOT fix relative(same page) anchors upon splits.. you are going to dig to find where this is You deleted a (reference to) a text or image even a second CSS, file (in Code View), but it is still listed in the Book Browser (or a spelling error, see item 2. it could be the flip side of the same problem.) |
|
01-27-2011, 04:53 AM | #4 |
Created Sigil, FlightCrew
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
Make an issue on the tracker about this. Attach a test case.
|
01-27-2011, 05:30 AM | #5 | ||||
Zealot
Posts: 104
Karma: 22
Join Date: Jun 2010
Device: none
|
Quote:
As for the other two, I probably should have included the whole ref. Here's what it looks like: Quote:
Quote:
The other two issues are: Quote:
Does this make more sense? Thanks again for the help - truly appreciated! |
||||
Advert | |
|
01-27-2011, 05:54 AM | #6 |
Guru
Posts: 655
Karma: 64171
Join Date: Sep 2010
Location: Kent, England, Sol 3, ZZ9 plural Z Alpha
Device: Sony PRS-300, Kobo Aura HD, iPad (Marvin)
|
For the Image problem, In code view, search for
Images/Enska Texta Reikn_fmt.gif and when found alter the gif suffix to jpg. That should clear up that one. As for the Font problem, in the Book Browser window, do those two fonts exist in the Fonts subfolder, if they do, look in the CSS files for the fonts and alter their paths from Styles/Baskerville to Fonts/Baskerville Edit: Reading your message again, the fonts look as though they're in the Styles folder, so again llok in CSS files for fonts and change their paths from Fonts/Baskerville to Styles/Baskerville Then save, and then reload the epub, that should fix it. Last edited by Perkin; 01-27-2011 at 05:57 AM. |
01-27-2011, 10:22 AM | #7 |
Well trained by Cats
Posts: 29,689
Karma: 54369090
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
I will try . The thing, is the damage(?) is done long before I discover it with FC.
All I see is something like:<a href="../Text/#ch_29">Chapter 27</a> when it should be: <a href="../Text/slide29.html#ch_29">Chapter 27</a> in all cases, I had done a split and or a rename on the file it was originally a part of. (I suspect the rename can't fix/adjust something (the file.ext) that was never there ) I WILL try and pull a pre-session copy ( I tend to do frequent saves after large successful S+R updates) the next time it happens. |
01-27-2011, 04:48 PM | #8 | ||
Zealot
Posts: 104
Karma: 22
Join Date: Jun 2010
Device: none
|
Perkin, thanks so much for the excellent (clear!) instructions.
I've fixed the image problems. (I see now that I'd deleted them from the page but they were still in the image folder.) However, the fonts thing is still an issue. They're not in the fonts folder, and I don't see a path like the one you specify Quote:
Quote:
Thx again! |
||
01-27-2011, 05:12 PM | #9 |
Guru
Posts: 655
Karma: 64171
Join Date: Sep 2010
Location: Kent, England, Sol 3, ZZ9 plural Z Alpha
Device: Sony PRS-300, Kobo Aura HD, iPad (Marvin)
|
I did mean look for Fonts/Baskerville and change it to Styles/Baskerville ---- Look through the css, both in stylesheets and inline (in the *html files) and see if any of them have @font-face defined, and if they have do they have something like src : url(Baskerville.otf); If they do copy and paste that line (src : ...) here. |
01-27-2011, 05:26 PM | #10 | ||||
Zealot
Posts: 104
Karma: 22
Join Date: Jun 2010
Device: none
|
Quote:
--- OK, in the Stylesheet there is this: Quote:
EDIT: Ah! you mean copy this: Quote:
Quote:
|
||||
01-27-2011, 06:08 PM | #11 |
Guru
Posts: 655
Karma: 64171
Join Date: Sep 2010
Location: Kent, England, Sol 3, ZZ9 plural Z Alpha
Device: Sony PRS-300, Kobo Aura HD, iPad (Marvin)
|
Those two src: lines are sort of what's causing the problem, the fonts they are looking for seem to be in the wrong place.
Look in the Book browser window, and unfold the Styles and Fonts folders Does Baskerville or Rockwell appear in either of those folders Now if they exist in one of those folders, do one of the following : ------ If they are in the Fonts folder change the line in the Baskerville definition to read src:url(../Fonts/Baskerville) format(opentype);; and do the Rockwell definition to read src:url(../Fonts/Rockwell) format(opentype);; ------ If they are in the Styles folder change the line in the Baskerville definition to read src:url(../Styles/Baskerville) format(opentype);; and do the Rockwell definition to read src:url(../Styles/Rockwell) format(opentype);; ------ If the fonts don't appear in either of the folders, then post here and we'll try and see what else we can do. |
01-27-2011, 06:20 PM | #12 | |
Zealot
Posts: 104
Karma: 22
Join Date: Jun 2010
Device: none
|
There is nothing in the Fonts folder. It doesn't respond at all when I click it.
The Styles folder contains two documents: the page template (page-template.xpgt) and the css template (template.css). There is no mention of either font in the former. However, the css template looks precisely like this: Quote:
Incidentally, it would be nice to have these two fonts, but if it's going to be a major hassle I'll just use the default fonts (I presume there are default fonts in Sigil??) |
|
01-27-2011, 09:30 PM | #13 | ||||
Guru
Posts: 655
Karma: 64171
Join Date: Sep 2010
Location: Kent, England, Sol 3, ZZ9 plural Z Alpha
Device: Sony PRS-300, Kobo Aura HD, iPad (Marvin)
|
Right, I think I know what's happened, those @font-face definition are trying to access the EMBEDED fonts which don't exist, what you need to do is either remove the whole of the following lines (so it will use the fonts already on system)
Quote:
As long as the epub will be for your own private use, it should be alright, I'm not sure about copyright on those fonts. You may need to change the Quote:
Quote:
Quote:
|
||||
01-28-2011, 02:40 PM | #14 |
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
|
You can specify fonts without embedding them. Just remove the source line from the CSS. The font specified should be a list with a generic font at the end of the list so that if the desired font is not available then the reader will go down the list looking for a substitute.
Dale |
01-28-2011, 05:01 PM | #15 | |
Zealot
Posts: 104
Karma: 22
Join Date: Jun 2010
Device: none
|
Thanks Perkin!
I'm working on the fonts, have installed one but need to get hold of the other. In the worst case I'll just use the default font. However, because I don't know the f*** I'm doing, I accidentally uploaded Font Book.app into the Fonts folder. For some reason it ended in the Misc folder (?? - the same happened with another file I tried to upload to Fonts) and now I cannot remove it. I left-click, it gives me the option to remove, then asks me if I'm absolutely sure, I click YES, but it doesn't go away. And when I try to validate the book now, it gives me an error: Quote:
|
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Error during validation | macdafydd | ePub | 19 | 12-01-2010 06:07 PM |
Validation tools | LGN | Sigil | 9 | 11-20-2010 01:40 AM |
Epub Validation Error? | LadyDae | ePub | 6 | 10-29-2010 07:20 PM |
Validation error | rrosenwald | Calibre | 10 | 10-01-2010 11:12 AM |
Validation Errors | luthar28 | ePub | 13 | 08-10-2010 12:24 PM |