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

Linux

8163 readers
144 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.

top 17 comments
sorted by: hot top controversial new old
[–] BitSound@lemmy.world 4 points 1 year ago (1 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.

[–] tanker405th@lemmy.world 2 points 1 year ago (1 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

[–] BitSound@lemmy.world 3 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
[–] tanker405th@lemmy.world 2 points 1 year ago

Thanks. I'll see what I can do!

[–] tanker405th@lemmy.world 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!

[–] art@lemmy.world 3 points 1 year ago (1 children)

If it's not an image heavy document converting to markdown might be a good solution.

[–] tanker405th@lemmy.world 1 points 1 year ago

There are quite a few images and a lot of tables. It's a mega dungeon and campaign setting. Fortunately all of the maps were in a separate document.

[–] BumbleBear@lemmy.world 3 points 1 year ago (1 children)

You may want to check out Libreoffice Draw but with that many pages it may choke. You may also want to try out MasterPDF. That one is a paid option but you can try it out for free.

[–] tanker405th@lemmy.world 1 points 1 year ago

Yeah, Draw is too clunky for this. I've been looking at MasterPDF or qoppa's PDF Studio. I'll download Master PDF when I get home to see if the trial will allow for the functions I'm looking for. Thank you!

[–] WillyWonksters@lemmy.world 2 points 1 year ago (1 children)
[–] tanker405th@lemmy.world 1 points 1 year ago (1 children)

I've installed that on my desktop, but I haven't really tried it out yet. I've also been reading up on Sigil as well. Considering converting it to an epub to read on my phone and e-reader while out and about.

[–] WillyWonksters@lemmy.world 2 points 1 year ago

Scribus is certainly powerful. You can also use python scripting to automate edits, so maybe you could even use regular expressions in a script to automatically insert hyperlinks.

[–] mhewitt@infosec.pub 0 points 1 year ago (1 children)

Microsoft word? Should be able to open a PDF, edit, and re-save as DOCX or PDF again.

[–] tanker405th@lemmy.world 2 points 1 year ago (1 children)

I'm not running Word. I do have LibreOffice on my Linux machines, and use Google Docs on the Chromebook. Docs has struggled to open the pdf because of the size of it. I've even considered using Sigil to try and edit it into epub format.

[–] mhewitt@infosec.pub 1 points 1 year ago* (last edited 1 year ago)

Crossover has a great WINE implementation of Word 2016 if you choose to go this route.