From 8f4d667b561da42453161950a830b29aa8bcb773 Mon Sep 17 00:00:00 2001 From: noa@gaiwan.org Date: Sun, 28 Jul 2024 17:02:32 +0000 Subject: First configuration for managing references --- config.org | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'config.org') diff --git a/config.org b/config.org index bc10116..d3c53a7 100644 --- a/config.org +++ b/config.org @@ -589,7 +589,10 @@ If we enable this, emphasis markers will be hidden for a more word processor fee '(("j" "Journal" entry (file+olp+datetree "~/data/notes/notes.org") "* %?\n" :empty-lines 1) ("l" "Website" entry (file+olp+datetree "~/data/notes/notes.org") "* %a\n%?\n" :empty-lines 1) + ("b" "BibTeX note" entry (file+olp+datetree "~/data/notes/notes.org") (function ebib-notes-create-org-template)) )) + (setopt org-capture-template-contexts + '(("b" ((in-mode ebib-index-mode))))) #+end_src #+begin_src elisp @@ -1864,3 +1867,30 @@ Just a few settings i haven't put into another category yet. ediff-window-setup-function 'ediff-setup-windows-plain) #+end_src +* Bibliography management +We use ebib to browse the bibliography. + +#+begin_src elisp + (setopt ebib-preload-bib-files '("~/data/references.bib")) +#+end_src + +The biblio package allows us to import references from online sources. + +#+begin_src elisp + (package-ensure 'biblio) + (require 'ebib-biblio) + (define-key ebib-index-mode-map (kbd "B") #'ebib-biblio-import-doi) + (define-key biblio-selection-mode-map (kbd "e") #'ebib-biblio-selection-import) +#+end_src + +#+begin_src elisp + (setopt biblio-download-directory "~/media/papers") +#+end_src + +Taking notes on papers: +#+begin_src elisp + (setopt ebib-notes-directory "~/data/notes") + (setopt ebib-notes-locations '("~/data/notes")) + (setopt ebib-notes-storage 'multiple-notes-per-file) + (setopt ebib-notes-use-org-capture "b") +#+end_src -- cgit 1.4.1-2-gfad0