fuxialexander / org-pdftools

A custom org link type for pdf-tools
GNU General Public License v3.0
335 stars 36 forks source link

Exporting org with org-pdftools links results in incorrect link to source PDF #29

Closed tmalsburg closed 4 years ago

tmalsburg commented 4 years ago

I have an org file with notes about some manuscript (PDF) with org-pdflinks. When I export the notes to PDF, there are links in the resulting PDF but their URLs are incorrect. Evince says the link is the local path of the notes followed by the absolute path of the manuscript PDF. Needless to say, these links don't work.

randomwangran commented 4 years ago

I guess it is a long term goal for this project:

(Long-term) Org <-> PDF Annotation converter.

fuxialexander commented 4 years ago

Actually no. The long term goal was talking about syncing annotation comment between org file and PDF annotation.

This specific issue should be fixed with several recent commits. Please have a check.

tmalsburg commented 4 years ago

It's still not working but I get the impression that the PDF viewer (evince) is to blame. On mouse over I get a popup showing the correct path. It's only when I click on the link that I get an error about the incorrect path. When I test with pdftools the link works as expected.

tmalsburg commented 4 years ago

(That long term goal sounds pretty cool.)