Associate PDF files with bibliographic entries

This commit is contained in:
coolneng 2022-10-27 14:11:13 +02:00
parent 59b9517c89
commit f062bcb218
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
2 changed files with 5 additions and 1 deletions

View File

@ -29,3 +29,6 @@
;; Keybindings for next/previous buffer ;; Keybindings for next/previous buffer
(map! :n "C-j" #'previous-buffer) (map! :n "C-j" #'previous-buffer)
(map! :n "C-k" #'next-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")

View File

@ -94,7 +94,8 @@
(setq org-latex-src-block-backend 'engraved) (setq org-latex-src-block-backend 'engraved)
;; Set up bibliography management ;; Set up bibliography management
(setq org-cite-global-bibliography '("~/Documents/Uni/Thesis/docs/bibliography.bib") (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 ;; Add citeproc and metadata-file options to ox-pandoc
(after! ox-pandoc (after! ox-pandoc
(add-to-list 'org-pandoc-valid-options 'citeproc) (add-to-list 'org-pandoc-valid-options 'citeproc)