summary refs log tree commit diff
path: root/config.org
diff options
context:
space:
mode:
Diffstat (limited to 'config.org')
-rw-r--r--config.org30
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