Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EPUB or MOBI support #23

Closed
kamlekar opened this issue Jan 11, 2021 · 8 comments
Closed

EPUB or MOBI support #23

kamlekar opened this issue Jan 11, 2021 · 8 comments
Assignees

Comments

@kamlekar
Copy link

Any future plans to support for EPUB or MOBI so users can read on e-readers?

Currently, we can use Calibre software but that won't compile properly because it has code but not just text.

Thanks.

@mykelk
Copy link
Contributor

mykelk commented Jan 11, 2021

I started to play with Calibre to try converting, but it reflows the text and ends up turning everything into a mess. Are there conversion tools for EPUB and MOBI that preserve the formatting? I'm happy to give anything you suggest a try. I don't expect that this book (and other Tufte style books) would do very well on a small Kindle, but it would work well in a PDF viewer on a larger tablet.

@mykelk mykelk self-assigned this Jan 11, 2021
@kasravi
Copy link

kasravi commented Jan 12, 2021

have you seen pop-notes for your side notes?
from this page: https://publisha.github.io/pages/footnotes

The pop-up note reference is supported by Apple in their iBooks app for MACs and iOS on tablets etc. It is also documented that later Kobo devices also support pop-up notes.

It is also supported on later models of the Kindle when an ePub is converted to the MOBI format.

Other devices and software that cannot support pop-up notes will simply function as hyperlinks to the list of notes at the end of the chapter or section

@mykelk
Copy link
Contributor

mykelk commented Jan 12, 2021

Thanks! We can explore this. The immediate focus at the moment is getting a PDF finalized so that it can go to print. I'd also want to make sure that the equations look good.

@rejuvyesh
Copy link

https://pdf2htmlex.github.io/pdf2htmlEX/ might be of interest. epub/mobi are just zipped html files in a way.

@quintrino
Copy link

Hoping for a this too, I generally prefer to read on an e-reader to supporting formats other than PDF would be fantastic.

@mykelk
Copy link
Contributor

mykelk commented May 25, 2022

I was able to get the book into HTML using pdf2htmlEX on Ubuntu 20 and it looks good and preserves the formatting, equations, etc. However, converting it to EPUB / MOBI from either the PDF or HTML just results in a mess, at least using Calibre.

@AlexandrParkhomenko
Copy link

AlexandrParkhomenko commented May 25, 2022

If anyone want the book in html formats, the formulas need convert to MathML, or convert to images. I have no idea why pdf is bad.

@mykelk
Copy link
Contributor

mykelk commented May 25, 2022

Yeah, I think we will only support PDF, but if others want to convert it to whatever other format, they can do that on their own. I think most e-readers support PDF anyway. The HTML version looks pretty good:
image
(That's a screenshot from our other book as HTML.)

@mykelk mykelk closed this as completed Jul 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants