this post was submitted on 30 Jul 2023
2 points (100.0% liked)

Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ

54369 readers
582 users here now

⚓ Dedicated to the discussion of digital piracy, including ethical problems and legal advancements.

Rules • Full Version

1. Posts must be related to the discussion of digital piracy

2. Don't request invites, trade, sell, or self-promote

3. Don't request or link to specific pirated titles, including DMs

4. Don't submit low-quality posts, be entitled, or harass others



Loot, Pillage, & Plunder

📜 c/Piracy Wiki (Community Edition):


💰 Please help cover server costs.

Ko-Fi Liberapay
Ko-fi Liberapay

founded 1 year ago
MODERATORS
 

I saw this other guy asking how you'd download protected drive only view documents. So that reminded me of that other annoying characteristic of PDFs. They're 'protected'.

How do you deal with PDFs that are inherently uncustomisable and have fixed formatting? I appreciate the KO Reader and other readers can do reflowable text, but I'd prefer not to and epubs/txt/any customisable format would be better.

Any good methods of PDF to text/epub out there?

you are viewing a single comment's thread
view the rest of the comments
[–] kniescherz@feddit.de 0 points 1 year ago (4 children)

No easy ones I know of. Have done it but it was a pain.

  1. Crop the pages so that headers, footnotes and page numbers arent part of the book anymore. Use Briss for that.

  2. Convert to html, not sure which is the best software though

  3. Clean up manually. That is the most work, mostly newlines and stuff. Dont even try without Regex.

I dont bother anymore, for smaller pages I do the cropping and read on kindle. Larger on tablet.

Have a look at this forum for more in depth knowledge: https://www.mobileread.com/forums/forumdisplay.php?f=184

[–] Historical_General@lemmy.world 0 points 1 year ago (1 children)

Others are recommending Calibre which I'll try, even though I share your pessimism. Have you ever tried it?

[–] kniescherz@feddit.de 0 points 1 year ago (1 children)

Yes I tried it and did not get any usable results.

[–] Historical_General@lemmy.world 0 points 1 year ago (1 children)

In his own words lol:

To re-iterate PDF is a really, really bad format to use as input. If you absolutely must use PDF, then be prepared for an output ranging anywhere from decent to unusable, depending on the input PDF.

https://manual.calibre-ebook.com/conversion.html

[–] kniescherz@feddit.de 0 points 1 year ago

Wow who downvotes you?

That quote is pretty spot on. I feel that there might be well formated and simple pdfs which could be formatted but as soon as it gets busier or the pdf isnt well structured behind the scenes it gets messy.

load more comments (2 replies)