refactor(biblio): move org-cite-*-processor config
So they're grouped with citar's config. Ref: hlissner/doom-emacs@45ee0ecf21
This commit is contained in:
parent
273d561762
commit
3431cec2b2
1 changed files with 12 additions and 12 deletions
|
@ -13,12 +13,21 @@
|
||||||
;; Setup export processor; default csl/citeproc-el, with biblatex for
|
;; Setup export processor; default csl/citeproc-el, with biblatex for
|
||||||
;; latex
|
;; latex
|
||||||
org-cite-export-processors '((latex biblatex) (t csl))
|
org-cite-export-processors '((latex biblatex) (t csl))
|
||||||
org-cite-insert-processor 'citar
|
|
||||||
org-cite-follow-processor 'citar
|
|
||||||
org-cite-activate-processor 'citar
|
|
||||||
org-support-shift-select t))
|
org-support-shift-select t))
|
||||||
|
|
||||||
|
|
||||||
|
(use-package! citar
|
||||||
|
:when (featurep! :completion vertico)
|
||||||
|
:no-require
|
||||||
|
:config
|
||||||
|
(setq org-cite-insert-processor 'citar
|
||||||
|
org-cite-follow-processor 'citar
|
||||||
|
org-cite-activate-processor 'citar)
|
||||||
|
(when (featurep! :lang org +roam2)
|
||||||
|
;; Include property drawer metadata for 'org-roam' v2.
|
||||||
|
(setq citar-file-note-org-include '(org-id org-roam-ref))))
|
||||||
|
|
||||||
|
|
||||||
;; `org-cite' processors
|
;; `org-cite' processors
|
||||||
(use-package! oc-biblatex :after oc)
|
(use-package! oc-biblatex :after oc)
|
||||||
(use-package! oc-csl :after oc)
|
(use-package! oc-csl :after oc)
|
||||||
|
@ -28,15 +37,6 @@
|
||||||
;;
|
;;
|
||||||
;;; Third-party
|
;;; Third-party
|
||||||
|
|
||||||
(use-package! citar-org
|
|
||||||
:when (featurep! :completion vertico)
|
|
||||||
:when (featurep! :lang org +roam2)
|
|
||||||
:defer t
|
|
||||||
:config
|
|
||||||
;; Include property drawer metadata for 'org-roam' v2.
|
|
||||||
(setq citar-file-note-org-include '(org-id org-roam-ref)))
|
|
||||||
|
|
||||||
|
|
||||||
(use-package! bibtex-completion
|
(use-package! bibtex-completion
|
||||||
:when (or (featurep! :completion ivy)
|
:when (or (featurep! :completion ivy)
|
||||||
(featurep! :completion helm))
|
(featurep! :completion helm))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue