Last active
August 13, 2021 16:01
-
-
Save bdarcus/d8add167feba6c07d72acd7ce722485f to your computer and use it in GitHub Desktop.
setup for bibtex-actions and org-cite
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(use-package bibtex-actions | |
:after (bibtex-completion) | |
:config | |
(setq bibtex-completion-bibliography '("~/references.bib"))) | |
(use-package oc | |
:load-path "~/org-mode/lisp" | |
:after (org bibtex-completion) | |
:config | |
(setq org-cite-global-bibliography | |
;; Ensure we see the same bibliography files as org-cite. | |
(let ((paths bibtex-completion-bibliography)) | |
;; Always return bibliography paths as a list. | |
(if (stringp paths) (list paths) paths)))) | |
(use-package oc-basic | |
:load-path "~/org-mode/lisp" | |
:after (oc)) | |
(use-package oc-bibtex-actions | |
:after (oc) | |
:demand t | |
:config | |
(setq org-cite-insert-processor 'oc-bibtex-actions | |
org-cite-follow-processor 'oc-bibtex-actions | |
org-cite-activate-processor 'basic)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment