From mboxrd@z Thu Jan 1 00:00:00 1970 From: marvin doyley Subject: Re: Problem with org-ref Date: Wed, 23 Dec 2015 17:16:16 -0500 Message-ID: <38DC9872-15B9-4DDE-95E6-592176943821@gmail.com> References: <9B7FD49A-1A5F-42D3-9D9F-72BB151AF28C@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_497D782A-A92B-48DE-A81C-E2D15CDFE417" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52573) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aBrho-0005gx-6Z for emacs-orgmode@gnu.org; Wed, 23 Dec 2015 17:16:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aBrhk-0002VE-62 for emacs-orgmode@gnu.org; Wed, 23 Dec 2015 17:16:24 -0500 Received: from mail-qk0-x22c.google.com ([2607:f8b0:400d:c09::22c]:36039) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aBrhk-0002VA-0y for emacs-orgmode@gnu.org; Wed, 23 Dec 2015 17:16:20 -0500 Received: by mail-qk0-x22c.google.com with SMTP id t125so165125030qkh.3 for ; Wed, 23 Dec 2015 14:16:19 -0800 (PST) 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: John Kitchin Cc: "emacs-orgmode@gnu.org" --Apple-Mail=_497D782A-A92B-48DE-A81C-E2D15CDFE417 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi John, Its now working, it turns out the version of pdftotext that I was using = wasn=E2=80=99t working well. I found different version = (http://macappstore.org/pdftotext/ ) = that did the trick cheers, M > On Dec 23, 2015, at 4:30 PM, John Kitchin = wrote: >=20 > Thanks! Do you know if you have pdftotext working on your machine? The = pdf drag-n-drop works by converting the pdf to text, and than matching a = pattern to find a doi. If none is found, you get the message you noted. = The url dnd works similarly, but there are a bunch of recipes for what = to match depending on the base of the url. >=20 > I did that on a Mac, and I haven't tested it on a windows or Linux = machine.=20 >=20 > John >=20 > ----------------------------------- > Professor John Kitchin=20 > Doherty Hall A207F > Department of Chemical Engineering > Carnegie Mellon University > Pittsburgh, PA 15213 > 412-268-7803 > @johnkitchin > http://kitchingroup.cheme.cmu.edu >=20 >=20 > On Wed, Dec 23, 2015 at 4:22 PM, marvin doyley > wrote: > Hi John, >=20 > I am playing with org-ref, the melpa version. >=20 > Everything works fine except, one thing. When I drag a pdf to an = empty bibtex file it doesn=E2=80=99t extract the doi ( no doi found in = the file:/// <>). I tried it pdf you used in your video (Examples of = Effective Data Sharing in Scientific Publishing), but I got the same = error. Dragging the url to the bibtex file also doesn=E2=80=99t works = for me. >=20 > cheers, > M >=20 > PS by the way, your video was excellent :) >=20 --Apple-Mail=_497D782A-A92B-48DE-A81C-E2D15CDFE417 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
Hi John,
Its now working, it turns out = the version of pdftotext that I was using wasn=E2=80=99t working well. I = found different version (http://macappstore.org/pdftotext/) that did the trick

cheers,
M

On Dec 23, 2015, at 4:30 PM, = John Kitchin <jkitchin@andrew.cmu.edu> wrote:

Thanks! Do you know if you have pdftotext working on your = machine? The pdf drag-n-drop works by converting the pdf to text, and = than matching a pattern to find a doi. If none is found, you get the = message you noted. The url dnd works similarly, but there are a bunch of = recipes for what to match depending on the base of the url.

I did that on a Mac, and = I haven't tested it on a windows or Linux machine. 

John

-----------------------------------
Professor = John Kitchin 
Doherty Hall A207F
Department of Chemical Engineering
Carnegie = Mellon University
Pittsburgh, PA 15213
412-268-7803

On Wed, Dec 23, 2015 at 4:22 = PM, marvin doyley <marvinpas@gmail.com> wrote:
Hi John,

I am playing with org-ref,  the melpa version.

Everything works fine except, one thing.  = When I drag a pdf to an empty bibtex file it doesn=E2=80=99t extract the = doi ( no doi found in the file:///). I tried it = pdf you used  in your video (Examples of Effective Data Sharing in = Scientific Publishing), but I got the same error. Dragging the url to = the bibtex file also doesn=E2=80=99t works for me.

cheers,
M

PS by the way, your video was excellent = :)


= --Apple-Mail=_497D782A-A92B-48DE-A81C-E2D15CDFE417--