From 62a2088e0654f9f2877f7d234227ceb2d3e66daf Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Wed, 11 Sep 2019 23:44:46 -0400 Subject: [PATCH 1/1] emacs: add org-pdftools for linking to pdf files (and pages) in org --- .emacs.d/init.el | 8 ++++++++ .emacs.d/straight/versions/default.el | 1 + 2 files changed, 9 insertions(+) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index a3d38ab..a535aaf 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -1915,6 +1915,14 @@ This function is intended for use with `ivy-ignore-buffers'." :config (pdf-tools-install nil t) :custom (pdf-view-resize-factor 1.05)) +(use-package org-pdftools + :straight (:host github :repo "fuxialexander/org-pdftools") + :demand + :after org + :config + (with-eval-after-load 'org + (require 'org-pdftools))) + (use-package biblio) (use-feature reftex diff --git a/.emacs.d/straight/versions/default.el b/.emacs.d/straight/versions/default.el index 46228d7..82d6a65 100644 --- a/.emacs.d/straight/versions/default.el +++ b/.emacs.d/straight/versions/default.el @@ -65,6 +65,7 @@ ("mwim.el" . "b4f3edb4c0fb8f8b71cecbf8095c2c25a8ffbf85") ("no-littering" . "e1e79c0211ad924ca220dac3a7a1a2e40710c073") ("org" . "6f32e7af88805441c1261e16f729172639d8b3fa") + ("org-pdftools" . "3ca91085290fc3d0f3886c3a3145deea760055b8") ("org-ref" . "9ab74270c1543e4743ca0436de567d8205403b43") ("page-break-lines" . "2e1d274e11071bb8daea4d6f4c0369c84466de7a") ("parsebib" . "9a5f1730b8ef1fb6c29262a8ba79f8136e5548d4") -- 2.20.1