View Single Post
Old 07-23-2022, 11:40 PM   #9
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,482
Karma: 169115146
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by DNSB View Post
For a command line tool for converting epub to kepub, you might want to look at kepubify instead of ebook-convert.
Quote:
Originally Posted by ajkessel View Post
But kepubify apparently can't handle HTML. So would I do ebook-convert HTML-->kepub, and then kepubify the kepub file?
Please note the "converting epub to kepub" in my post. I was suggesting replacing the last line attempting to convert epub to kepub using ebook-convert. This would change your high level workflow to:

- ebook-convert filename.html to filename.epub
- ebook-polish filename.epub polished.epub
- kepubify polished.epub to final.kepub

Kepubify takes an epub book as the input and outputs a kepub book.
DNSB is offline   Reply With Quote