From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: doi-utils, org-ref-bibtex: separate or included? Date: Sat, 23 Mar 2019 13:26:59 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([209.51.188.92]:37442) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h7kf7-0005Vl-2V for emacs-orgmode@gnu.org; Sat, 23 Mar 2019 13:42:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h7kQC-0007j3-JA for emacs-orgmode@gnu.org; Sat, 23 Mar 2019 13:27:05 -0400 Received: from mail-qt1-x82e.google.com ([2607:f8b0:4864:20::82e]:44794) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h7kQC-0007iG-DA for emacs-orgmode@gnu.org; Sat, 23 Mar 2019 13:27:04 -0400 Received: by mail-qt1-x82e.google.com with SMTP id w5so5993837qtb.11 for ; Sat, 23 Mar 2019 10:27:03 -0700 (PDT) In-reply-to: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Lawrence Bottorff Cc: emacs-orgmode Mailinglist 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 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