aboutsummaryrefslogtreecommitdiffstats
path: root/doom/references.org
blob: b83b1770fe357b2410d946ee9d96f089b8b91cbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#+title: Reference Management

* Set up databases

#+begin_src emacs-lisp
(defvar ymhg/bib-db nil
  "A string containing the location of my bibtex database.")

(defvar ymhg/pdf-dir nil
  "The path to the directory containing the PDF files. The file
  for the entry with key <key> is stored as <key>.pdf.")

(defvar ymhg/notes-dir nil
  "The path to the directory containing my notes for the
  references. The note for the item with key <key> is stored in
  this folder as <key>.org")

(defvar ymhg/pdf-download-dir nil
  "The path to the temporary directory to which we download PDF
  files.")
#+end_src

#+begin_src emacs-lisp
(setq ymhg/bib-db (expand-file-name "~/Dropbox/bibliography/references.bib")
      ymhg/pdf-dir (expand-file-name "~/Dropbox/bibliography/papers/")
      ymhg/notes-dir (expand-file-name "~/Dropbox/bibliography/notes/")
      ymhg/pdf-download-dir (expand-file-name "~/Downloads/"))
#+end_src

* Configure Ebib