Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 03-09-2010, 06:27 PM   #31
rmm200
Groupie
rmm200 has a complete set of Star Wars action figures.rmm200 has a complete set of Star Wars action figures.rmm200 has a complete set of Star Wars action figures.rmm200 has a complete set of Star Wars action figures.rmm200 has a complete set of Star Wars action figures.
 
Posts: 195
Karma: 414
Join Date: Jan 2010
Location: Bend, OR
Device: Sony PRS-600
Epubcheck, like Calibre, is a work in progress. Again like Calibre, I think it is supported by volunteers.

Just because it has limitations is no excuse to not use it. Until something better comes along, I think anyone generating Epubs should use it as the before-mentioned sanity check. And if you don't like the way it works - volunteer some of your time to make it better.

Epubs need good tools to reach their potential - and for the moment Epubcheck is the best we have.

Robert
rmm200 is offline   Reply With Quote
Old 03-09-2010, 07:02 PM   #32
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,856
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
My objection to epubcheck is that it gives the impression that using it means your epub is actually guaranteed to work on anything

To put it another way

I would have no objection to epubcheck if it was was named epub-schema-check or if it printed out a big fat disclaimer about how it's checks dont guarantee anything.

Or to put it slightly less seriously

Circling a banyan tree three times while reciting the English alphabet backwards appeases the God of e-book formatting, so you should always do that immediately after you run epubcheck. Just in case. It can't hurt. Banyan trees are shady, and good for the environment.
kovidgoyal is offline   Reply With Quote
Advert
Old 03-09-2010, 07:15 PM   #33
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,856
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
@rmm200: Are you implying that the fact that a piece of software is developed by volunteers means that it is bound to be mediocre?
kovidgoyal is offline   Reply With Quote
Old 03-09-2010, 08:21 PM   #34
rmm200
Groupie
rmm200 has a complete set of Star Wars action figures.rmm200 has a complete set of Star Wars action figures.rmm200 has a complete set of Star Wars action figures.rmm200 has a complete set of Star Wars action figures.rmm200 has a complete set of Star Wars action figures.
 
Posts: 195
Karma: 414
Join Date: Jan 2010
Location: Bend, OR
Device: Sony PRS-600
Quote:
Originally Posted by kovidgoyal View Post
@rmm200: Are you implying that the fact that a piece of software is developed by volunteers means that it is bound to be mediocre?
I love Calibre - I think it is great. Last time I looked Calibre had a bunch of closed bugs and a fair number of open ones. Work in progress means you are not done yet... There is always another bug ahead.

Are you saying Epubcheck will never be better than mediocre?

I am not associated with Epubcheck, but I know the great value of tools like FindBugs (http://findbugs.sourceforge.net/) in the Java arena. There are definite analogies here - and I would consider myself irresponsible as a programmer if I did not use the tools available to me.

Robert
rmm200 is offline   Reply With Quote
Old 03-09-2010, 08:31 PM   #35
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,856
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by rmm200 View Post
I love Calibre - I think it is great. Last time I looked Calibre had a bunch of closed bugs and a fair number of open ones. Work in progress means you are not done yet... There is always another bug ahead.

Are you saying Epubcheck will never be better than mediocre?

I am not associated with Epubcheck, but I know the great value of tools like FindBugs (http://findbugs.sourceforge.net/) in the Java arena. There are definite analogies here - and I would consider myself irresponsible as a programmer if I did not use the tools available to me.

Robert
Are you saying you should use a tool simply because it exists, irrespective of whether it is any good or not? I have no idea if epubcheck will one day become useful or not. All I can say is whether it is useful or not today.

In fact I would even happily stipulate it is useful today, I just want to emphasize that it does not perform the function that many people assume it does, that of guaranteeing an EPUB will work.

So an EPUB creators job doesn't really end if his EPUB is passed by epubcheck. She needs to actually look at it in a few common EPUB viewers as well.

As an illustration, 90% of the code in the calibre EPUB output plugin deals with transforming perfectly valid (as per epubcheck) structures to other perfectly valid structures. Except that the second set of structures have the advantage that they actually work as intended on common EPUB renderers.
kovidgoyal is offline   Reply With Quote
Advert
Old 03-09-2010, 10:42 PM   #36
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 73,970
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
mypictureshares.com is way too slow. Whoever is using it, please unlink from it. Thanks.
JSWolf is offline   Reply With Quote
Old 03-09-2010, 11:41 PM   #37
Peter Sorotokin
speaking for myself
Peter Sorotokin knows what time it isPeter Sorotokin knows what time it isPeter Sorotokin knows what time it isPeter Sorotokin knows what time it isPeter Sorotokin knows what time it isPeter Sorotokin knows what time it isPeter Sorotokin knows what time it isPeter Sorotokin knows what time it isPeter Sorotokin knows what time it isPeter Sorotokin knows what time it isPeter Sorotokin knows what time it is
 
Posts: 139
Karma: 2166
Join Date: Feb 2008
Location: San Francisco Bay Area
Device: PRS-505
Quote:
Originally Posted by kovidgoyal View Post
Just so you know: epubcheck is totally meaningless. A file that *passes* epubcheck may or may not work with any given epub renderer. A file that *does not pass* epubcheck may or may not work with any given epub renderer.

The best that could possibly be said about epubcheck (and I wouldn't be comfortable saying this without actual data) is that a file that passes epubcheck may be more likely than a file that does not pass to render correctly with most epub viewers. Even if this were true it would most likely be so because files that tend to pass epubcheck tend, on average, to have extremely simple markup, as they are typically the product of machine translation from some extremely simple format.

What I'm trying to say is that the things that epubcheck checks are those things that it is easiest to write software to check, not those things that are most likely to cause problems, or those things that are most likely to occur in the wild.

What epubcheck is good for, is those situations where you have absolutely no idea why your epub file is not rendering with a particular renderer. In that case, you can try running epubcheck on it and fix the errors it points out. Of course, that may or may not fix your actual problem. And even for this use case, epubcheck is extremely sub-optimal since its error messages are incredibly unhelpful.

That's my epubcheck jeremiad for this week.
Even though I do not totally agree with what you say, I can certainly see your point and confirm that there is a lot of truth in it. When you hit a specific problem that epubcheck should have caught in your opinion, could you make a note of it and either post this stuff somewhere, or send me a message, or create an issue for epubcheck? This way it can be improved to be a more useful tool.
Peter Sorotokin is offline   Reply With Quote
Old 03-10-2010, 12:11 AM   #38
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,856
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Sure, I'll be happy to. Most issues I come up against are typically limitations of this or that EPUB viewer software though. I'm not sure if these are the kinds of issues you want epubcheck to check. If so, I'll be happy to open bug reports for it. Perhaps epubcheck should get a --rendering mode that can be used to check issues that affect rendering on various EPUB viewers.

There's already a long list of these types of issues at http://bugs.calibre-ebook.com/wiki/ADEQuirks that affect Adobe Digital Editions. Most of these issues have probably been fixed in newer ADE releases, but the existence of legacy readers means that EPUB documents need to workaround them to be sure of rendering well on old SONY readers for example.
kovidgoyal is offline   Reply With Quote
Old 03-10-2010, 04:09 AM   #39
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 71,506
Karma: 306214458
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
Quote:
Originally Posted by Peter Sorotokin View Post
Even though I do not totally agree with what you say, I can certainly see your point and confirm that there is a lot of truth in it. When you hit a specific problem that epubcheck should have caught in your opinion, could you make a note of it and either post this stuff somewhere, or send me a message, or create an issue for epubcheck? This way it can be improved to be a more useful tool.
I was pleased to find that the latest 1.0.5 epubcheck no longer reportes problems on IDPF-obfuscated fonts. It still reports problems on Adobe-obfusticated fonts, which is reasonable, I suppose, because the Adobe method is non-standard.

Of course, (nearly) all ePub readers understand Adobe obfusticated fonts, and the most important one, Adobe Digital Editions, doesn't understand IDPF obfusticated ones. Which makes the situation less than optimal.

Sigh... I just want to publish an ePub with an embedded fton in a way that satifies the font vendors, and yet doesn't encrypt the text. An obfusticated font is the way to go, but using Adobe obfustication means the file won't pass epubcheck, and so my distributor won't take it, and using IDPF obfustication passes epubcheck, but then the font won't show up for the majority of (current) users!

Hopefully ADE will support IDPF obfusticated fonts soon.

(Hmm... I seem to be trying to hijack the thread. Apologies.)
pdurrant is offline   Reply With Quote
Old 03-10-2010, 07:29 AM   #40
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
Quote:
Originally Posted by Peter Sorotokin View Post
Even though I do not totally agree with what you say, I can certainly see your point and confirm that there is a lot of truth in it. When you hit a specific problem that epubcheck should have caught in your opinion, could you make a note of it and either post this stuff somewhere, or send me a message, or create an issue for epubcheck? This way it can be improved to be a more useful tool.
I personally find epubcheck to be an invaluable tool even after taking its limitations into consideration. The only thing I don't like about it is that it's written in Java, and therefore can't be easily embedded into Sigil. But that's my problem, not epubcheck's.

Keep up the good work.

Quote:
Originally Posted by pdurrant View Post
Sigh... I just want to publish an ePub with an embedded fton in a way that satifies the font vendors, and yet doesn't encrypt the text. An obfusticated font is the way to go, but using Adobe obfustication means the file won't pass epubcheck, and so my distributor won't take it, and using IDPF obfustication passes epubcheck, but then the font won't show up for the majority of (current) users!
Oh the pain. That's horrible.
Valloric is offline   Reply With Quote
Old 03-10-2010, 11:34 AM   #41
Peter Sorotokin
speaking for myself
Peter Sorotokin knows what time it isPeter Sorotokin knows what time it isPeter Sorotokin knows what time it isPeter Sorotokin knows what time it isPeter Sorotokin knows what time it isPeter Sorotokin knows what time it isPeter Sorotokin knows what time it isPeter Sorotokin knows what time it isPeter Sorotokin knows what time it isPeter Sorotokin knows what time it isPeter Sorotokin knows what time it is
 
Posts: 139
Karma: 2166
Join Date: Feb 2008
Location: San Francisco Bay Area
Device: PRS-505
Quote:
Originally Posted by pdurrant View Post
Of course, (nearly) all ePub readers understand Adobe obfusticated fonts, and the most important one, Adobe Digital Editions, doesn't understand IDPF obfusticated ones. Which makes the situation less than optimal.
The most recent Adobe SDK does implement IDPF method, so you'll see devices that support it pretty soon. But yes, it will take time to filter down.
Peter Sorotokin is offline   Reply With Quote
Old 03-10-2010, 11:38 AM   #42
Peter Sorotokin
speaking for myself
Peter Sorotokin knows what time it isPeter Sorotokin knows what time it isPeter Sorotokin knows what time it isPeter Sorotokin knows what time it isPeter Sorotokin knows what time it isPeter Sorotokin knows what time it isPeter Sorotokin knows what time it isPeter Sorotokin knows what time it isPeter Sorotokin knows what time it isPeter Sorotokin knows what time it isPeter Sorotokin knows what time it is
 
Posts: 139
Karma: 2166
Join Date: Feb 2008
Location: San Francisco Bay Area
Device: PRS-505
Quote:
Originally Posted by kovidgoyal View Post
Sure, I'll be happy to. Most issues I come up against are typically limitations of this or that EPUB viewer software though. I'm not sure if these are the kinds of issues you want epubcheck to check. If so, I'll be happy to open bug reports for it. Perhaps epubcheck should get a --rendering mode that can be used to check issues that affect rendering on various EPUB viewers.
Frankly speaking, I wanted to add such a mode for a long time, but I was concerned that it would be seen as some sort of evil Adobe plot. Perhaps I'll give it another thought.
Peter Sorotokin is offline   Reply With Quote
Old 03-10-2010, 11:42 AM   #43
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 71,506
Karma: 306214458
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
Quote:
Originally Posted by Peter Sorotokin View Post
The most recent Adobe SDK does implement IDPF method, so you'll see devices that support it pretty soon. But yes, it will take time to filter down.
Excellent news. Thanks.
pdurrant is offline   Reply With Quote
Old 03-10-2010, 11:51 AM   #44
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,856
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by Peter Sorotokin View Post
Frankly speaking, I wanted to add such a mode for a long time, but I was concerned that it would be seen as some sort of evil Adobe plot. Perhaps I'll give it another thought.
Well it should not only warn about problems with ADE. For example, empty <pre> elements are not rendered correctly in webkit based viewers and stanza can't handle an epub that has files with the same filename in different directories.

Of course, Stanza has so many problems that it's probably not worth supporting at all.
kovidgoyal is offline   Reply With Quote
Old 03-10-2010, 12:41 PM   #45
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 73,970
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Peter Sorotokin View Post
The most recent Adobe SDK does implement IDPF method, so you'll see devices that support it pretty soon. But yes, it will take time to filter down.
But unless Sony implements the most recent SDK for the 300, 500, 505, 600, & 700, then the publishers cannot use the new fixes/changes as the books will then break on a Sony Reader. I'm not sure how up-to-date the 900 is. But Sony needs to keep the ADE engine updated. Why that have not it silly. Do you know if Sony is planning on implementing the latest ADE on the Readers or is Sony making the world have to work with the old version despite changes/fixes?

I do think Adobe should make it part of the contract that if they use ADE, that it has to be updated so we are not stuck with old ADE when new ADE has bug fixes and other enhancements. Sure, the new ADE supports IDPF font handling. But if a number of Readers do not, then what good is it?
JSWolf is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
epubcheck bugs? capidamonte ePub 2 06-13-2010 07:38 AM
PRS-600 Possible to check out library books w/o Sony Reader Software Installed? 45MPHK9 Sony Reader 5 03-27-2010 03:16 PM
Web-based epubcheck upgraded to epubcheck 1.0.5 kjk ePub 4 02-09-2010 09:53 PM
Epub check tool: ePubs do not pass Portnull Calibre 32 11-04-2009 08:27 AM
epubcheck GeoffC ePub 3 11-03-2009 04:26 AM


All times are GMT -4. The time now is 08:13 PM.


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