|
|
#31 | ||
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14,228
Karma: 84699364
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Quote:
Quote:
|
||
|
|
|
|
|
#32 | ||
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 295
Karma: 364036
Join Date: Jul 2026
Location: Planet Earth
Device: Kobo Forma
|
Quote:
I converted your scrambled book with kepubverto 0.5.2, with and without --hyphens auto. epubveri 0.43.0 and EPUBCheck 5.4.0 both report no errors and no warnings in the KEPUB. Its OPF is the same as in your EPUB, and it has no kobo-cover-image-generated-by-calibre.jpeg. Then I put that KEPUB through calibre's own KEPUB code, in calibre 9.18.0, the code that removes the Kobo markup and adds it back. The result has your 69 errors, at the same lines and columns. calibre adds two style elements with an id to the head of each chapter (kobostylehacks and koboSpanStyle), and EPUB 2 does not allow an id on a style element. It also adds the cover image to the OPF with properties="cover-image", which is EPUB 3 syntax in an EPUB 2 book. So I think the calibre editor does this when it opens a KEPUB, and the check then runs on calibre's version of the book, not on kepubverto's. I have not tried it in the editor itself. Could you check one thing for me? Run epubveri or EPUBCheck on the KEPUB file directly, without opening it in the editor first. If it passes, that confirms it. I could not reproduce the editor closing when you run EPUBCheck. That happens inside calibre, so I can't tell from here what causes it. Quote:
|
||
|
|
|
|
|
#33 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14,228
Karma: 84699364
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Is checking on internal names something that epubveri might flag?
|
|
|
|
|
|
#34 | |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,773
Karma: 154365285
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
I ran epubveri from the command line and this is the output. WARNING PKG-017: ".kepub" is an uncommon extension for an EPUB file — 0 error(s), 1 warning(s): VALID After I saved the KePub from the editor and ran epubveri, I got my 69 errors back. I'll report this as a bug. Also, I do have epubcheck close the editor. I'll report this in the epubcheck thread. |
|
|
|
|
|
|
#35 | ||
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 295
Karma: 364036
Join Date: Jul 2026
Location: Planet Earth
Device: Kobo Forma
|
Quote:
Your test shows it: the KEPUB is valid as kepubverto wrote it, and the 69 errors come back once the editor has saved it. I think the editor removes the Kobo markup when it opens a KEPUB, so that you can edit the book, and adds its own markup back when it saves or checks it. The errors are in that rebuilt file. That would be why you can't see them in the editor: what it shows you is the book without that markup. I have not tried this in the editor myself. The one warning, PKG-017, is only about the file name. epubveri expects a book to end in .epub, and the file you checked ends in .kepub. kepubverto names its output .kepub.epub, the name a Kobo expects, and epubveri does not warn about that one. Quote:
kepubverto 0.5.3 is out. It updates the tools kepubverto uses to check the CSS you add with --css, so a few rules that a reader would ignore are now refused, and a few valid ones are now accepted. The books it writes are the same as with 0.5.2. https://github.com/veripublica/kepub...ses/tag/v0.5.3 https://crates.io/crates/kepubverto https://www.npmjs.com/package/@verip...epubverto-wasm |
||
|
|
|
|
|
#36 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,773
Karma: 154365285
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
@Kayadelenium, the problem is calibre. The editor hides the KePub code and then puts in it's own code. So there is no way to edit a KePub created by kepubverto, kepupify, or from Kobo. The code will get changed to calibre's code. I asked for this to be an option and was rejected as unneeded.
Since I don't know which books make have this, I'll ask. Does epubveri flag filenames using a space by it an error or a warning? Last edited by JSWolf; 11-18-2026 at 05:46 PM. |
|
|
|
|
|
#37 | ||
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 55,965
Karma: 182837452
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Quote:
epubcheck: Code:
WARNING(PKG-010): The file name "OEBPS/Text/spark_0 01.xhtml" contains spaces, which may create interoperability issues with older reading systems. Code:
WARNING PKG-010: file name 'spark_0 01.xhtml' contains a space |
||
|
|
|
|
|
#38 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14,228
Karma: 84699364
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Just install Sigil and use it to view / edit the kepub.
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Libra Colour How to sort EPUB and KEPUB on Kobo | raydawson | Kobo Reader | 15 | 01-10-2025 07:33 AM |
| KEPUB and non-breaking space | Vetchy | Kobo Developer's Corner | 33 | 11-13-2024 03:44 PM |
| New Kobo, ePub vs Kepub | Pjama | Kobo Reader | 8 | 04-07-2021 01:26 PM |
| What will happen/I gain if I forced an ePub book to a KePub book? | andsoitgoes | Kobo Reader | 4 | 04-04-2012 05:33 PM |
| Kobo Adobe Epub is a Kepub instead | rashkae | Kobo Reader | 61 | 01-13-2012 07:15 AM |