summary refs log tree commit diff
diff options
context:
space:
mode:
authornoa2025-02-16 21:50:30 +0800
committernoa2025-02-16 21:50:30 +0800
commit73ee72c302e456465891afba839a61925c312ca6 (patch)
treee2ecaa5ffbdf44bc7275c9378b49cf3e0c9e102e
parent713820ab03f3c021c4c142d95508f52c08815ff1 (diff)
Update emacs bibliography management config
-rw-r--r--emacs/init.el18
1 files changed, 16 insertions, 2 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 94d9e34..385848a 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -702,12 +702,24 @@ With prefix argument TIME, also add the current time."
   (ebib-file-associations '(("pdf" . "xdg-open") ("ps" . "gv"))))
 
 (use-package citar
-  :ensure t
+  ;; :ensure t
+  :defer t
+  :commands (citar-insert-citation citar-open-files citar-open-notes)
   :custom
   (citar-bibliography '("~/Documents/Library/References.bib"))
-  (citar-library-paths '("~/Documents/Library/Papers")))
+  (citar-library-paths '("~/Documents/Library/Papers"))
+  (citar-notes-paths '("~/Documents/Notes"))
+  )
+(use-package citar-org
+  :after oc
+  :custom
+  (org-cite-insert-processor 'citar)
+  (org-cite-follow-processor 'citar)
+  (org-cite-activate-processor 'citar))
+  
 
 (use-package bibtex
+  :defer t
   :custom
   (bibtex-dialect 'biblatex)
   (bibtex-entry-format '(opts-or-alts
@@ -723,7 +735,9 @@ With prefix argument TIME, also add the current time."
   (bibtex-entry-delimiters 'braces))
 
 (use-package biblio
+  :disabled t
   :ensure t
+  :defer t
   :custom
   (biblio-bibtex-use-autokey t)
   ;; Use one name, appending ETAL if there is more than one author