fuxialexander / org-pdftools

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

How to link link pdf files from this package? #76

Closed JunHoo-Lee closed 2 years ago

JunHoo-Lee commented 2 years ago

Hi there,

I wanted to link pdf files in .org files but error occur to me, what is the actual prefix of pdf file?

I tried total 3 types of prefix, but it doesn't work,

  1. [[pdfview:filename::1][name]]
  2. [[pdf:filename::1][name]]
  3. [[pdftools:filename::1][name]]

and it says :

image

I'm using doom emacs in macos,  packages are installed as follows image

please save me..

crlsh commented 2 years ago

Just use org-store-link on the pdf page and org-insert-link where you want to insert it. Make sure you are using org-pdftools-setup-link in the emacs configuration if it does not work. The prefix is ​​pdf and can be changed by customizing org-pdftools-link-prefix

JunHoo-Lee commented 2 years ago

Thank you for your kindness! I think i misunderstood config option, I thought installation is over when i just install an org-pdftools package, and no need to modify config file.