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

[FEAT REQ] epub version #23

Open
ivnnv opened this issue Dec 1, 2023 · 15 comments
Open

[FEAT REQ] epub version #23

ivnnv opened this issue Dec 1, 2023 · 15 comments
Labels
help wanted Extra attention is needed

Comments

@ivnnv
Copy link

ivnnv commented Dec 1, 2023

Hi, could it be possible to generate an epub version of each pdf ()or combined) so they can be sent to ebook readers (like Kindle) and take advantages of the extra features of those over plain PDFs, like change font size, etc?

I know there are pdf to epub converters but they arent very good and it would be better to convert from whatever your original source material is.

Thanks.

@federico-busato
Copy link
Owner

this seems a common request. Need to figure out how to generate epub from latex

@jorgepz
Copy link

jorgepz commented Dec 1, 2023

Hi, congratulations for the project! I have the same issue in this project and I am thinking about trying out pandoc in some near future... Have you considered using it?

@federico-busato
Copy link
Owner

thanks for the suggestion @jorgepz. I tried with pandoc, but the result is pretty bad. I'm considering tex4ebook

@csukuangfj
Copy link

this seems a common request. Need to figure out how to generate epub from latex

Is there a plan to also make the latex files public?

@federico-busato
Copy link
Owner

Is there a plan to also make the latex files public?

Not for now

@federico-busato
Copy link
Owner

I tried tex4ebook but I got many compile errors. I will see if there are simple alternatives

@federico-busato federico-busato added the help wanted Extra attention is needed label Dec 3, 2023
@Smartis2812
Copy link

Smartis2812 commented Dec 4, 2023

Just to throw some ideas into this, iCloud Pages Online.

Not sure in which format your source is but (Latex, I overlooked it 😅) with an Apple account you can upload and format it with the online version of pages and export it as ePUB. Limited LaTeX support in pages.

@Channel59
Copy link

fyi epub is just some glorified html put in a zip archive. Maybe some tooling to compile latex to HTML could be used?

@Smartis2812
Copy link

fyi epub is just some glorified html put in a zip archive. Maybe some tooling to compile latex to HTML could be used?

Could be achived with the Calibre Commandline tools

@indraneel-mondal
Copy link

You can possibly generate HTML using htlatex. Once you have HTML, you can use pandoc to convert to EPUB. Or you can convert to DOCX using pandoc and then use Amazon Kindle Create to generate EPUB. Calibre also has good HTML to EPUB conversion.

@federico-busato
Copy link
Owner

I already tried to use make4ht because it is an improved version of htlatex, but I got errors related to unsupported fonts. I could try to remove them one by one until the build passes. Not sure if it is the best solution

@freakynit
Copy link
Contributor

Created pull request containing html's for all chapters. These seem to have been generated correctly. #60

@federico-busato
Copy link
Owner

@freakynit that's amazing!! 🤯 Could you please tell me how you did this so I can automate the process for future updates?

@freakynit
Copy link
Contributor

@federico-busato
Copy link
Owner

I also found the tool pdf2htmlEX that is open source and can be automated.
Epub conversion is still problematic. I tried both pandoc and calibre but the result is too bad to publish.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

8 participants