04-23-2019, 04:50 PM | #1 |
Grand Sorcerer
Posts: 5,583
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
EPUBCheck v4.2.0
EPUBCheck v4.2.0 is now available: https://github.com/w3c/epubcheck/releases/tag/v4.2.0
It provides complete support for checking conformance to the EPUB 3.2 family of specifications. (I have updated the Sigil and Calibre plugins.) |
04-23-2019, 07:05 PM | #2 |
Imperfect Perfectionist
Posts: 460
Karma: 724664
Join Date: Dec 2011
Location: Ølstykke, Denmark
Device: none
|
Just for the record: This new epubcheck does not only provide *support* for epub 3.2, it actually checks any epub 3.X against that new standard, regardless of the epub's subversion.
Regards, Kim |
04-23-2019, 08:01 PM | #3 | |
Grand Sorcerer
Posts: 6,496
Karma: 84420419
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
|
Any EPUB 3 should have a version of “3.0” in the OPF, even if it follows the 3.2 specification.
From EPUB Packages 3.2 Quote:
|
|
04-24-2019, 01:24 AM | #4 |
just an egg
Posts: 1,585
Karma: 4300000
Join Date: Mar 2015
Device: Kindle, iOS
|
@Doitsu: Thank you!
@elibrarian: Are you saying epubcheck v4.2.0 should only be used for epub 3.2? and any pre-3.2 epub should stick with epubcheck 4.1.1? |
04-24-2019, 03:26 AM | #5 | |
Imperfect Perfectionist
Posts: 460
Karma: 724664
Join Date: Dec 2011
Location: Ølstykke, Denmark
Device: none
|
Quote:
Also, AFAIK (but I may be wrong), epub3.2 is still a draft, and the officially recommended version is still 3.01. The full list of differences is found here Based on my own (not very thorough) experiments, there also seems to be some discrepancies between the epub 3.2 standard and the Accessibily 1.0 standard (mainly the proper use of ARIA roles), and the way to ensure backward compatibility to epub 2-readers. But I won't go deeper into that now (since I may be wrong on those points …) Edit: Older recommendations specify the use of epub:type and ARIA-roles in the BODY-tag. This practice is now considered "both invalid and harmful". I hadn't spotted that detail, and it accounts for some of the errors I get. Regards, Kim Last edited by elibrarian; 04-24-2019 at 05:02 AM. |
|
04-24-2019, 02:28 PM | #6 |
just an egg
Posts: 1,585
Karma: 4300000
Join Date: Mar 2015
Device: Kindle, iOS
|
Thank you elibrarian. Now I'm not sure whether to update to v4.2.0 ...
|
05-05-2019, 03:10 PM | #7 |
Resident Curmudgeon
Posts: 73,897
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Is anyone else having trouble with epubcheck editor plugin for Calibre with Calibre version 3.42 for Windows 64-bit? It doesn't do anything.
|
05-05-2019, 05:41 PM | #8 | |
Grand Sorcerer
Posts: 5,583
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Try the following: 1. Download the the official epubcheck-4.2.0.zip package from Github and unzip it. 2. Unzip the 0.1.6 epubcheck plugin. 3. Replace epubcheck.jar and the complete lib folder with the files from the official release. 4. Change the following entry in __init__.py: from Code:
version = (0, 1, 6) Code:
version = (0, 1, 7) BTW, you don't need the new version, since it mostly added epub3-only checks. |
|
05-05-2019, 08:29 PM | #9 | |
Resident Curmudgeon
Posts: 73,897
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
The command java -jar epubcheck.jar "Star Trek_ Discovery_ Desperate - DAVID MACK.epub" does not work. But, the command java -Xss512k -jar epubcheck.jar "Star Trek_ Discovery_ Desperate - DAVID MACK.epub" does work. The problem is the stack size. I've switched to the 64-bt Java and now it works. So this problem is going to bite others who have a 32-bit Java installed. If you can fix the plugin to set the stack like was done on the command line, then those with a 32-bit Java won't have the same problem. I've installed your ZIP and it's working. But with the 32-bit Java, it does not work. And I did install the latest 32-bit Java as I thought maybe the version of Java I was using was needing updating. Anyway, I hope you can get this working for those using 32-bit Java. Here is the thread about this issue on GitHub. https://github.com/w3c/epubcheck/issues/940 Last edited by JSWolf; 05-05-2019 at 08:35 PM. |
|
05-20-2019, 07:56 AM | #10 |
Grand Sorcerer
Posts: 6,496
Karma: 84420419
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
|
Version 4.2.1 has been released.
|
07-19-2019, 09:38 AM | #12 | |
Resident Curmudgeon
Posts: 73,897
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
EPUBCheck v4.1.1 | Doitsu | ePub | 2 | 03-18-2019 10:39 AM |
EpubCheck 4.0.2 | jhowell | ePub | 5 | 12-17-2016 11:09 PM |
Epubcheck 3 | Dillinquent | Sigil | 36 | 01-18-2013 05:33 PM |
Web-based epubcheck upgraded to epubcheck 1.0.5 | kjk | ePub | 4 | 02-09-2010 09:53 PM |
epubcheck | GeoffC | ePub | 3 | 11-03-2009 04:26 AM |