View Full Version : Validation messages


dgabriel
05-03-2012, 10:02 AM
I am a self-taught ePub creator and have had quite a bit of good luck (I'll call it luck). Usually I was going from INDD to PDF to HTML to Sigil. But in reading some information I went this last time from WORD to HTML to Sigil. BTW I am using a MAC.

I validated and got a ton of messages.

I was able to clear up a lot. but the main remaining I just don't know how to deal with:

Fonts:

OEBPS/Fonts/GothamNarrow Book.otf - N/A - This resource is present in the OPF <manifest>, but it's not reachable (it's unused).

I was trying to use embedded fonts so I suppose I set it up wrong. If there is a fairly straight-forward way to help me I would greatly appreciate it.

Body code:

I get this for almost every file -
<body link="blue" style="tab-interval:.5in" vlink="purple" xml:lang="EN-US" xmlns:xml="http://www.w3.org/XML/1998/namespace">
attribute 'link' is not declared for element 'body'
and attribute 'vlink' is not declared for element 'body'

One thing I liked about the conversion is that it made nice tables - I could never get tables to automatically be created the other way I worked. But I get - attribute 'width' is not declared for element 'td' - when I go to the line in question -
<td style="width:189.9pt;border-top:none;border-left: solid #365F91 1.0pt;border-bottom:solid #5B903E 1.0pt;border-right:solid #5B903E 1.0pt; padding:0in 5.4pt 0in 5.4pt" valign="top" width="190">

looks to me like 'width' is there. I get tons of these messages - for every table/row

Now the book looks great on my iPad and I opened it in ADE and it looks good. Fonts are not what I specified, but forums seem to say this is a tricky problem.

Is it feasible to send this book to users with all the validation messages unanswered?

I know this is long and a bit involved, but hope to hear from someone.
Thank you so much
Deb

huebi
05-03-2012, 10:17 AM
As this has nothing to do with Sigil why are you asking in a forum about Sigil? If my cars complaigns about low pressure in the tyres i'm not asking the producer of the measurement system on how to deal with that. Theres a section called epug dealing with that. And again: its worthless to have a look even only once a month here in this forum as 90% of the questions are in the wrong thread. Its a pity, but i have to live with that. Far well and thx for the fish

theducks
05-03-2012, 10:37 AM
Moving to EPUB. A Basic EPUB question not specific to Sigil.


Alink and Vlink are not formatted properly to be coded in the tag. IMHO those codes belong in the stylesheet.

Tab interval .5 INCHES :eek: for 2 reasons
1) a absolute value that won't re-flow
2) small screen users. 4 tabs and your work is in the next county :D

:bulb2: Test your work on something other that an Apple or color screen (test on a few common, different problematic (read here at MR and you will figure which seem to cause more :chinscratch: ) models

dgabriel
05-03-2012, 03:28 PM
I do humbly apologize for being in the wrong thread - but now it's in ePub....

I will try to find out more on my own, on on Alink and Vlink stylesheets - if someone has any ideas they have the time to share - that would be appreciated

Toxaris
05-03-2012, 04:30 PM
if your source is word, you need to cleanup the html code first.

Doitsu
05-03-2012, 06:56 PM
OEBPS/Fonts/GothamNarrow Book.otf - N/A - This resource is present in the OPF <manifest>, but it's not reachable (it's unused).

I was trying to use embedded fonts so I suppose I set it up wrong. If there is a fairly straight-forward way to help me I would greatly appreciate it.
Usually, this happens, if there's no link to the stylesheet in the .html file. Your header should look something like this:

<head>
<title></title>
<link href="../Styles/Style.css" rel="stylesheet" type="text/css" />
</head>

If you're sure that the stylesheet is properly referenced, you most likely didn't declare the font correctly in the stylesheet.