I have heard of Abby Reader but its paid.

  • Trent@lemmy.ml
    link
    fedilink
    English
    arrow-up
    22
    ·
    2 days ago

    Calibre should be able to convert from one to the other. Pandoc as well if you prefer CLI things.

      • Trent@lemmy.ml
        link
        fedilink
        English
        arrow-up
        7
        ·
        2 days ago

        I just checked and tested it, works for me. Is there anything unusual about the PDF?

        • lankydryness@lemmy.world
          link
          fedilink
          arrow-up
          5
          ·
          2 days ago

          I’ve done It before. It’s just highly dependent on the PDF. What software made the pdf? What format was it in prior to being a PDF? Is it a scanned image of text? Or does it have actual text.

          Another option, that might work better, might not, though it would be more work, is use something like Microsoft Word first. Word can open a PDF and “convert” it to Word format. After that, you spend a lot of time fixing all the formatting which will probably be fucked up.

          And then, once you have a nice clean Word doc, convert that to epub.

          • Trent@lemmy.ml
            link
            fedilink
            English
            arrow-up
            5
            ·
            2 days ago

            I’ve had some trouble with PDFs that were just images of pages of text (easy way to tell, assuming you’re on linux, is run pdftotext on it and see if you get anything). There’s a utility called pdfsandwich that will use Tesseract to OCR the images and add text to the PDF.

            That might help too.

        • solrize@lemmy.ml
          link
          fedilink
          arrow-up
          2
          ·
          2 days ago

          I guess better check latest version. But pdf is a pain, it places letters geometrically and loses information about stuff like text flow. You have to use heuristics to put the words and sentences back together.