trtm / DLBB

:book: :hammer: DLBook Builder
44 stars 13 forks source link

Feature request: Produce EPUB instead of PDF #3

Open webmaven opened 8 years ago

webmaven commented 8 years ago

The script currently outputs a PDF file (which is somewhat amusing, as the HTML was obviously created from a PDF with pdf2htmlEX). PDFs, though, aren't very good for reading on an ebook reader like a Kindle.

So, it would be great if the script could produce an EPUB or MOBI ebook file.

trtm commented 8 years ago

the available chapters as html is kind of a soft copyright from the creator of the book. the implemented hack (printing with firefox from the commandline) allows to get a pdf version of each chapter. if there is a tool/library like "html2pdf" or "html2epub" let me know, I haven't found one yet. from my experience it is also difficult to create epubs from html-pages / pdfs with many formulas... (right formatting and stuff...)