8

Is to possible to convert pdf file to epub format without errors? Is there some application in Linux that can do it? I found only Ecub and Calibre which give bad results or fail.

A command-line application is sufficient.

It's an ordinary pdf (not scanned), so OCR is not needed.

Gilles 'SO- stop being evil'
  • 807,993
  • 194
  • 1,674
  • 2,175
xralf
  • 16,149
  • 29
  • 101
  • 149
  • 1
    If calibre fails you could use the fact that ePub is just a couple of xhtml files inside a zip. So you could play with pdftohtml or pdftotext and then pack the result into a ePub file. – Johan Jan 22 '13 at 05:43

1 Answers1

8

Calibre would be my best suggestion, though it's far from perfect.

The linux version comes with both a GUI interface, and various command line tools. See ebook-convert:

ebook-convert file.pdf file.epub

frabjous
  • 8,421
  • 1
  • 32
  • 33
  • I'm sorry, Calibre is another one I tried but I forgot it's name. Now I confirmed that this failed. I tried to open the result with my `Aldiko` reader. – xralf Nov 08 '11 at 08:49
  • I would file a bug report in its issue tracker: they put out a new version every week, and are quick to respond in general, I've found. – frabjous Nov 08 '11 at 09:05
  • But I don't know what error happened, can I test the file.epub and see where is the problem? – xralf Nov 08 '11 at 09:56
  • Calibre has a forum at MobileRead.com -- you might ask there. – frabjous Nov 08 '11 at 10:05