29
submitted 10 months ago by lemmyuser68@sopuli.xyz to c/asklemmy@lemmy.ml

I have heard of Abby Reader but its paid.

you are viewing a single comment's thread
view the rest of the comments
[-] Trent@lemmy.ml 14 points 10 months ago

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

[-] lemmyuser68@sopuli.xyz 5 points 10 months ago
[-] Trent@lemmy.ml 7 points 10 months ago

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

[-] lankydryness@lemmy.world 5 points 10 months 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 5 points 10 months 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.

[-] mistermodal@lemmy.ml 4 points 10 months ago* (last edited 10 months ago)

Thx crude scans are the only way you can get a lot of the more fringe books on https://annas-archive.li/ etc.

[-] solrize@lemmy.ml 3 points 10 months ago

Pandoc can do epub to PDF but not the other way.

[-] Trent@lemmy.ml 2 points 10 months ago

Hm. I stand corrected. I could swear it did both ways.

[-] solrize@lemmy.ml 2 points 10 months 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.

this post was submitted on 17 Oct 2025
29 points (100.0% liked)

Asklemmy

55353 readers
214 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy 🔍

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~

founded 7 years ago
MODERATORS