summaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.el29
1 files changed, 13 insertions, 16 deletions
diff --git a/emacs/init.el b/emacs/init.el
index b458dca..3dbf1f4 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -402,32 +402,29 @@
(message-interactive t)
(message-auto-save-directory "~/Documents/Library/Mail/drafts"))
+
;;; Bibliography management
-;; TODO: update this to fit with the new single org file notes system. This way should be easier than the previous method i think.
-(use-package ebib
- :defer t
- :custom
- (ebib-bibtex-dialect 'biblatex)
- (ebib-index-columns '(("Author/Editor" 40 t)
- ("Year" 6 t)
- ("Title" 50 t)
- ("Entry Key" 40 t)))
- (ebib-file-associations '(("pdf" . "xdg-open") ("ps" . "gv"))))
(use-package citar
- :defer t
+ :ensure 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-notes-paths '("~/Documents/Notes"))
- )
+ (citar-bibliography '("~/Documents/References.bib"))
+ (citar-library-paths '("~/Library/Papers"))
+ (citar-notes-paths '("~/Documents/Notes")))
+
(use-package citar-org
- :after oc
+ :after oc citar
:custom
(org-cite-insert-processor 'citar)
(org-cite-follow-processor 'citar)
(org-cite-activate-processor 'citar))
+(use-package citar-embark
+ :after citar embark
+ :ensure t
+ :custom
+ (citar-at-point-function 'embark-act)
+ :hook ((org-mode . citar-embark-mode)))
(use-package bibtex
:defer t