diff options
author | noa@gaiwan.org | 2024-07-28 17:02:32 +0000 |
---|---|---|
committer | noa@gaiwan.org | 2024-07-28 17:02:32 +0000 |
commit | 8f4d667b561da42453161950a830b29aa8bcb773 (patch) | |
tree | cca7ff566361b41f7b3d6f6ec9d3b33a79778cf3 /config.org | |
parent | 344367b988ddb3db732483c4e9231e7e17078d29 (diff) |
First configuration for managing references
Diffstat (limited to 'config.org')
-rw-r--r-- | config.org | 30 |
1 files changed, 30 insertions, 0 deletions
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 |