eDgar 810633552a upd8 README.md | 2 years ago | |
---|---|---|
README.md | 2 years ago | |
org-pdfview.el | 2 years ago |
This package just makes sure that my good ol' org-pdfview keeps working.
The original code is unmaintained. I was not able to get this fork:https://github.com/fuxialexander/org-pdftools to work for me without org-note.el.
Thus, what you have here just fixes some minor bugs in my links
I recommend to set this in your configuration:
(use-package org-pdfview
:load-path "~/.emacs.d/plugins/org-pdfview"
:after org pdf-tools
:config
;; https://lists.gnu.org/archive/html/emacs-orgmode/2016-11/msg00176.html
(add-to-list 'org-file-apps
'("\\.pdf\\'" .
(lambda (file link)
(org-pdfview-open link)))))
(with-eval-after-load 'org
(with-eval-after-load 'org-ref
(setq org-ref-open-pdf-function
'org-ref-open-pdf-at-point)))
(define-key pdf-view-mode-map (kbd "C-c l") 'org-store-link)