Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pdf links #1126

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Pdf links #1126

wants to merge 3 commits into from

Conversation

longhotsummer
Copy link
Contributor

This is complex. I don't yet know how pdfjs handles internal links. In some cases it has references like "p37" for a page number (is that always consistent?). In other cases it's something more complex such as 01-Chapter%2001_Evidence%20Manual.indd:.20300:2432. I don't know how the internal identifiers are made available to the code.

pdfjs has some of its implementation here: https://github.com/mozilla/pdf.js/blob/1b79b0cd210e38aab6e3420de5fe862a1c7f56c7/web/pdf_link_service.js#L183

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant