javascript-tutorial / javascript-tutorial/en.javascript.info

Bought Epub book is wrong on EPUB3 Reader

Open
#3,563 2 comments 0 reactions 1 assignee View on GitHub

@iliakan is already working on this.

Since Feb 22, 2024.

Dominant language
HTML
Stars
25.5k
Forks
4k
PR merge metrics
No merged PRs in 30d

Description

Hi there

I bought a book and downloaded it in epub format.

If I try to open it on Pocketbook era, the images, and code don't display.
Screenshot 2023-08-24 at 15 46 02

If I open the original file through an old reader (EPUB2), everything is displayed, but the fonts are terrible (and the old reader lags).

image Screenshot 2023-08-24 at 15 47 55

If I convert it to FB2 format, the code is displayed, but the images don't show.

pandoc ./js.epub -o js.fb2

P.S. I read it like this all the time until I made an opening, which I wrote about later.
I used for it https://pandoc.org/
Screenshot 2023-08-24 at 15 42 34

Solution:

If I convert it from EPUB to EPUB format,

pandoc ./js.epub -o js_copy.epub

then everything works in the latest reader.
image

I don't know what you use to convert Markdown to Epub but would be great if you would provide EPUB 3 initially

Thanks

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.