reactjs-interview-questions icon indicating copy to clipboard operation
reactjs-interview-questions copied to clipboard

Epub version questions rendering error

Open devevignesh opened this issue 4 years ago • 6 comments
trafficstars

I have downloaded the latest epub version and I got an error that says "error on line 1511 at column 6: Opening and ending tag mismatch: li line 0 and h1".

I'm assuming that the template literals are not working with the epub version.

Screenshot 2021-06-18 at 11 02 43 PM

OS: macOS BigSur Books: V3.2

devevignesh avatar Jun 18 '21 17:06 devevignesh

Are there any issues with PDF version?

sudheerj avatar Jun 20 '21 06:06 sudheerj

@sudheerj No there are no issues with the PDF version. Thanks

devevignesh avatar Jun 21 '21 05:06 devevignesh

Not sure if related but the ePub version when opened on iOS books app, it only has 21 pages

admapop avatar Aug 03 '21 19:08 admapop

epubcheck tells you that you are missing a closing tag. I can send you a working epub file, but I'm not sure how to do so. Should I create a pull request, with a /dist/ directory?

bingalls avatar Aug 19 '21 00:08 bingalls

@bingalls No, it should be fixed README. Are you still replicating the issue?

sudheerj avatar Feb 03 '22 05:02 sudheerj

@sudheerj I pulled your latest master branch, and ran your pandoc command I found in https://github.com/sudheerj/reactjs-interview-questions/actions/runs/1787781504/workflow I am running the latest native (not docker) pandoc 2.17.1.1 Your README.md implies that I can just download a *.epub file, by clicking on Github's Actions tab (above). Not clear, where this is. https://github.com/w3c/epubcheck still fails the same way. (It is available via Homebrew.) You can fix one error in pandoc's epub generation by adding a title tag, or add --metadata title="React Interview Questions" to your pandoc call. Currently, only 26 pages, or 5 chapters render. It is also possible to convert the PDF to epub. I'm not sure, what version of Epub pandoc generates. Here are the first few epubcheck errors:

Validating using EPUB version 3.2 rules. FATAL(RSC-016): reactinterview.epub/EPUB/text/ch001.xhtml(1583,3): Fatal Error while parsing file: The element type "li" must be terminated by the matching end-tag "". ERROR(RSC-005): reactinterview.epub/EPUB/text/ch001.xhtml(-1,-1): Error while parsing file: The element type "li" must be terminated by the matching end-tag "". ERROR(RSC-012): reactinterview.epub/EPUB/toc.ncx(46,56): Fragment identifier is not defined.

bingalls avatar Feb 03 '22 13:02 bingalls

Epub is no longer supported

sudheerj avatar Feb 27 '23 13:02 sudheerj