this post was submitted on 23 Jul 2023
16 points (100.0% liked)

Linux

8193 readers
199 users here now

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

founded 1 year ago
MODERATORS
 

I need a PDF editor to create internal hyperlinks in a document. I purchased a huge PDF and would like to be able to link internally to keep me from having to scroll or search the relevant data when needed. This thing is massive, over 1100 pages, and it's for ttrpg so there are a lot of tables, locations, special items, etc. that I'd like to be able to link to and find quickly.

I'm okay with paying for software if it will include this feature specifically, however, I don't prefer the subscription-based services I keep seeing listed in general searches. Bonus points: no major hassle with licenses when upgrading my OS to the newest LTS, and I can also run it as a Linux app on my Chromebook.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 1 year ago (4 children)

You might actually get something out of converting it to html. Easily editable with a basic text editor, you can link to anywhere in the document, and you can view it nicely in any browser.

[–] [email protected] 1 points 1 year ago (3 children)

I'm leaning more towards this. Any suggestions on what to use to convert it to html? I've ended up going down the rabbit hole reading up on LaTeX now because of this lol

[–] [email protected] 1 points 1 year ago (2 children)

You'll probably get decent results by trying out pdf2htmlex with a command like this:

docker run -it --rm -v /path/to/pdf/folder:/pdf bwits/pdf2htmlex pdf2htmlEX --zoom 1.3 my-pdf.pdf
[–] [email protected] 2 points 1 year ago

I ran it through pdf2htmlex. It extracted the text, tables, toc, etc. very nicely. Images are just black rectangles. I'll keep playing with the options to see if I can get those extracted and usable as well. So far, this has been the most usable output I've gotten. Thanks again!

load more comments (1 replies)
load more comments (1 replies)
load more comments (1 replies)