Closed sati-bodhi closed 4 years ago
The package is not in melpa yet, you can install it by git clone and then specify the :load-path keyword of use-package
.
@sati-bodhi I used:
(use-package org-pdftools
:ensure quelpa
:quelpa (org-pdftools :repo "fuxialexander/org-pdftools" :fetcher github)
:config
(setq org-pdftools-root-dir "/home/mark/Documents/Research")
(with-eval-after-load 'org
(org-link-set-parameters "pdftools"
:follow #'org-pdftools-open
:complete #'org-pdftools-complete-link
:store #'org-pdftools-store-link
:export #'org-pdftools-export)
(add-hook 'org-store-link-functions 'org-pdftools-store-link)))
But you'll still hit https://github.com/fuxialexander/org-pdftools/issues/20
and you'll need quelpa
of course:
(use-package quelpa-use-package
:ensure t
:init
(setq quelpa-git-clone-depth nil)
(setq quelpa-update-melpa-p nil))
Closing this as this package is now on MELPA, and the org-refile issue is probably resolved now.
Running
(use-package org-pdftools :config (setq org-pdftools-root-dir /path/you/store/pdfs))
throws this error.