Subject: [bug#33868] [PATCH] gnu: calibre: Fix PDF to EPUB conversion.

From: Ludovic Courtès <[email-masked]>
Date: Sun, 06 Jan 2019 18:56:34 +0100

Hello,

Mathieu Othacehe <[email-masked]> skribis:

> When trying to convert a PDF to EPUB, the following error occurs:
>
>   File "/gnu/store/kz6bgqw9z7akj11zh20wkx14cgq0s3n2-calibre-3.35.0/lib/calibre/calibre/ebooks/pdf/pdftohtml.py", line 76, in pdftohtml
>     _('Could not find pdftohtml, check it is in your PATH'))
>
> Move poppler which provides pdftohtml from inputs to propagated-inputs to fix it.
>
> * gnu/packages/ebook.scm (calibre)[inputs]: Move poppler from here ...
> [propagated-inputs]: ... to here.

I haven’t tested it but I’m confident you can go ahead and push it.

Thanks!

Ludo’.