matteosecli / matteosecli/pdf2archive

Converting breaks hyperlinks and crossreference links

Open
#12 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug ghostscript
Dominant language
Shell
Stars
87
Forks
19
PR merge metrics
No merged PRs in 30d

Description

Hi.

Thanks for sharing pdf2archive. I tested it and it worked on all the PDF documents I tried to convert. However, I noticed that hyperlinks and crossreference links (e. g. links to other pages in the same document) did not work after converting. It seems as if such links get deleted during the conversion.

The following test files exemplify this better.
Original file: [pdf2archive-conversion-test.pdf](https://github.com/matteosecli/pdf2archive/files/5090878/pdf2archive-conversion-test.pdf)
Converted file: [pdf2archive-conversion-test-PDFA.pdf](https://github.com/matteosecli/pdf2archive/files/5090879/pdf2archive-conversion-test-PDFA.pdf)

Do you know the reason for this behavior and how easy it would be to resolve it?

Best,
Marc

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the conversion using the linked original and converted PDF test files, then trace the shell command and Ghostscript invocation used by pdf2archive. Investigate where hyperlinks and cross-reference links are lost; the work is done when converted PDF/A output preserves both kinds of links.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.