From 04f13418111548612fc871e1db303a65c411298d Mon Sep 17 00:00:00 2001 From: BardofSprites <89086143+BardofSprites@users.noreply.github.com> Date: Thu, 21 Aug 2025 20:20:21 -0400 Subject: citar and org roam --- bard-emacs-modules/bard-emacs-writing.el | 45 ++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/bard-emacs-modules/bard-emacs-writing.el b/bard-emacs-modules/bard-emacs-writing.el index fd7d1cc..9595d97 100644 --- a/bard-emacs-modules/bard-emacs-writing.el +++ b/bard-emacs-modules/bard-emacs-writing.el @@ -236,4 +236,49 @@ ("" . logos-focus-mode) ("C-x n n" . logos-narrow-dwim))) +(use-package citar + :ensure t + :bind + ("C-c n c" . citar-open) + :config + (setq citar-bibliography '("~/Documents/bib/references.bib")) + (setq org-cite-global-bibliography citar-bibliography + org-cite-insert-processor 'citar + org-cite-follow-processor 'citar + org-cite-activate-processor 'citar) + + (setq citar-notes-paths '("~/Notes/denote")) + (setq citar-library-paths '("~/Documents/Research Articles/")) + ;; (setq citar-file-open-functions 'find-file) + :hook + (org-mode . citar-capf-setup) + :bind (("C-c i" . citar-insert-citation)) + ) + +(use-package citar-denote + :ensure t + :config + (citar-denote-mode t) + ) + +(use-package citar-embark + :ensure t + ) + +;; Org Roam (trying this out again?) +;;;; Org Roam +(use-package org-roam + :ensure t + :custom + (org-roam-directory (file-truename "~/Notes/denote")) + :bind (("C-c n l" . org-roam-buffer-toggle) + ("C-c n i" . org-roam-node-insert)) + :config + (org-roam-db-autosync-mode 1)) + +(use-package org-roam-ui + :ensure t + :bind + ("C-c n u" . org-roam-ui-open)) + (provide 'bard-emacs-writing) -- cgit v1.2.3