aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2018-12-08 10:02:08 +0000
committerYann Herklotz <ymherklotz@gmail.com>2018-12-08 10:02:08 +0000
commit7c09aab64b1044d02a96edc07702068929f9fd49 (patch)
tree774254b6c47793b92410f83119e7c61cce5f4d1d
parentea3a087ab7ff51029c661100af38b3418fdc4dd9 (diff)
downloaddotfiles-7c09aab64b1044d02a96edc07702068929f9fd49.tar.gz
dotfiles-7c09aab64b1044d02a96edc07702068929f9fd49.zip
Add org-ref
-rw-r--r--emacs/loader.org24
1 files changed, 21 insertions, 3 deletions
diff --git a/emacs/loader.org b/emacs/loader.org
index 2d663cd..6e04340 100644
--- a/emacs/loader.org
+++ b/emacs/loader.org
@@ -23,11 +23,12 @@ Set path so that it picks up some executables that I use
(concat
"/home/yannherklotz/.local/bin" ":"
"/home/yannherklotz/.yarn/bin" ":"
+ "/usr/bin/vendor_perl" ":"
(getenv "PATH")))
#+END_SRC
#+RESULTS:
-: /home/yannherklotz/.local/bin:/home/yannherklotz/.yarn/bin:/home/yannherklotz/.yarn/bin:/usr/bin:/home/yannherklotz/.local/bin:/home/yannherklotz/.gem/ruby/2.5.0/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/opt/clojurescript/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/opt/clojurescript/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
+: /home/yannherklotz/.local/bin:/home/yannherklotz/.yarn/bin:/usr/bin/vendor_perl:/home/yannherklotz/.local/bin:/home/yannherklotz/.yarn/bin:/usr/local/sbin:/usr/local/bin:/usr/bin
** Repositories
Defining all the package repositories that are going to be used.
@@ -870,11 +871,22 @@ Add org noter
:config (setq org-noter-default-notes-file-names '("notes.org")
org-noter-notes-search-path '("~/org/research")
org-noter-separate-notes-from-heading t))
+
+ (use-package org-ref
+ :after org
+ :bind (("C-c r" . org-ref-cite-hydra/body))
+ :config
+ (setq reftex-default-bibliography '("~/Dropbox/bibliography/references.bib"))
+ (setq org-ref-bibliography-notes "~/Dropbox/bibliography/notes.org"
+ org-ref-default-bibliography '("~/Dropbox/bibliography/references.bib")
+ org-ref-pdf-directory "~/Dropbox/bibliography/bibtex-pdfs/")
+ (setq org-latex-pdf-process (list "latexmk -shell-escape -bibtex -f -pdf %f"))
+ (setq org-ref-completion-library 'org-ref-ivy-cite))
#+END_SRC
#+RESULTS:
-: t
-p
+: org-ref-cite-hydra/body
+
*** Templates
#+BEGIN_SRC emacs-lisp
(setq org-capture-templates
@@ -916,6 +928,12 @@ p
(set-register ?i (cons 'file "~/Dropbox/org/inbox.org"))
#+END_SRC
+*** Exporting
+
+#+BEGIN_SRC emacs-lisp
+ (use-package ox-twbs)
+#+END_SRC
+
** PDF Tools
#+BEGIN_SRC emacs-lisp