emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Marvin M. Doyley" <mdoyley@ur.rochester.edu>
To: Kyle Meyer <kyle@kyleam.com>
Cc: John Kitchin <jkitchin@andrew.cmu.edu>,
	emacs-orgmode@gnu.org, Zhe Lei <lzhes43@gmail.com>
Subject: Re: [EXT] Problem with org-ref
Date: Wed, 10 Mar 2021 10:36:01 -0500	[thread overview]
Message-ID: <8E0A3C22-E5A2-42C6-861B-30EE92E46721@ur.rochester.edu> (raw)
In-Reply-To: <87o8fraa0e.fsf@kyleam.com>

[-- Attachment #1: Type: text/plain, Size: 1617 bytes --]

HI Kyle,

This solved my problems



> On Mar 9, 2021, at 11:49 PM, Kyle Meyer <kyle@kyleam.com> wrote:
> Marvin M. Doyley writes:
>> Hi there,
>> When I use crossref-add-bibtex-entry it download the BibTeX entry but cannot download the associated pdf.
>> I get the following error  (wrong-type-argument stringp ("/Users/doyley/Dropbox/Filing_Cabinet/B/refs/pdf/“))
>> I configured org-ref as follows
>> (setq org-ref-bibliography-notes '("/Users/doyley/Dropbox/Filing_Cabinet/B/refs/ref_notes.org") 
>>      org-ref-default-bibliography '("/Users/doyley/Dropbox/Filing_Cabinet/B/refs/ref.bib") 
>>      org-ref-pdf-directory '("/Users/doyley/Dropbox/Filing_Cabinet/B/refs/pdf/")
>> 	  org-ref-notes-citation-link '("cite")
>>      )
> [ Caveat: I've never used org-ref ]
> org-ref's 0383cc2 (support multiple pdf directories, 2016-06-10) updated
> org-ref-pdf-directory to accept a list value, so your value is valid,
> but...
>> Debugger entered--Lisp error: (wrong-type-argument stringp ("/Users/doyley/Dropbox/Filing_Cabinet/B/refs/pdf/"))
>>  file-name-as-directory(("/Users/doyley/Dropbox/Filing_Cabinet/B/refs/pdf/"))
>>  doi-utils-get-bibtex-entry-pdf(nil)
> ... doi-utils-get-bibtex-entry-pdf wasn't updated for that (+cc the
> author of that commit and John Kitchin).
> It looks like org-ref-pdf-directory still supports a string, though, and
> you only have one item, so you should be able to work around the issue
> with
>  (setq org-ref-pdf-directory "/Users/doyley/Dropbox/Filing_Cabinet/B/refs/pdf/")

[-- Attachment #2: Type: text/html, Size: 15516 bytes --]

  reply	other threads:[~2021-03-10 15:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-08 15:20 Problem with org-ref Marvin M. Doyley
2021-03-10  4:49 ` Kyle Meyer
2021-03-10 15:36   ` Marvin M. Doyley [this message]
2021-03-10 18:22     ` [EXT] " John Kitchin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8E0A3C22-E5A2-42C6-861B-30EE92E46721@ur.rochester.edu \
    --to=mdoyley@ur.rochester.edu \
    --cc=emacs-orgmode@gnu.org \
    --cc=jkitchin@andrew.cmu.edu \
    --cc=kyle@kyleam.com \
    --cc=lzhes43@gmail.com \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).