You can install org-ref from Melpa, and it has both of these packages included in it.
I am pretty sure all you need is something like (use-package org-ref :init (setq org-ref-bibtex-hydra-key-binding (kbd "\C-cj"))) you should load org first anyway, so the :after should not be needed. Lawrence Bottorff <borg...@gmail.com> writes: > I've got this code in my init: > > (use-package doi-utils > :ensure t > :after org) > > (use-package org-ref-bibtex > :after org > :init > (setq org-ref-bibtex-hydra-key-binding "\C-cj")) > > I'm not sure where I got this code, but it errors out. There is no ELPA for > these, correct? What's the best way to install these? So if I've got > org-ref from an ELPA repo (it now shows up as a "dependency"), do doi-utils > and org-ref-bibtex need to be separately installed? If so, what's the best > way? > > LB -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu