kepubverto 0.5.0 is out. It fixes one case where a converted book could fail validation although the original passed. Most books don't have it, and if yours did, the fix is to convert the original EPUB again.
The case: HTML lets an image leave out its alt text when it is alone in a figure with a caption, because the caption describes it. kepubverto wrapped that image in a span, and the span ended the exception, so every such image became an error (RSC-005). A reader found it in a technical book that gained 36 of them, and reported it on
GitHub with the smallest example and the versions. Thank you for that.
Now the image gets no span. It is still counted, so every other span keeps the same id as before. If you converted such a book with an earlier version, convert the original EPUB, not the KEPUB: kepubverto leaves an already converted chapter as it is.
Why my tests missed it: they checked the output with epubveri 0.37.1, which did not look for missing alt text, and EPUBCheck 5.4.0 doesn't either. They now use epubveri 0.40.1, which does, with a test book for this case. On my 562-book test shelf, checked with it, the conversion adds no findings.
kepubverto writes a new file and never changes the EPUB you give it. You can try it
in your browser. Your book stays on your computer, and nothing is uploaded.
https://github.com/veripublica/kepub...ses/tag/v0.5.0
https://crates.io/crates/kepubverto
https://www.npmjs.com/package/@verip...epubverto-wasm