From f062bcb21830a87469ca086d8b1e4a8e2d16f668 Mon Sep 17 00:00:00 2001 From: coolneng Date: Thu, 27 Oct 2022 14:11:13 +0200 Subject: [PATCH] Associate PDF files with bibliographic entries --- +keybindings.el | 3 +++ +org.el | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/+keybindings.el b/+keybindings.el index d0250e2..0f87714 100644 --- a/+keybindings.el +++ b/+keybindings.el @@ -29,3 +29,6 @@ ;; Keybindings for next/previous buffer (map! :n "C-j" #'previous-buffer) (map! :n "C-k" #'next-buffer) +;; Keybindings for citar +(map! :leader :n "n B" #'citar-open-files + :desc "Open associated PDF with bibliography entry") diff --git a/+org.el b/+org.el index 155a6af..548f588 100644 --- a/+org.el +++ b/+org.el @@ -94,7 +94,8 @@ (setq org-latex-src-block-backend 'engraved) ;; Set up bibliography management (setq org-cite-global-bibliography '("~/Documents/Uni/Thesis/docs/bibliography.bib") - citar-bibliography org-cite-global-bibliography) + citar-bibliography org-cite-global-bibliography + citar-library-paths '("~/Documents/Uni/Thesis/bibliography")) ;; Add citeproc and metadata-file options to ox-pandoc (after! ox-pandoc (add-to-list 'org-pandoc-valid-options 'citeproc)