emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Kitchin <jkitchin@andrew.cmu.edu>
To: ldcmrtn@gmail.com
Cc: emacs-orgmode@gnu.org
Subject: Re: org-ref: renaming/moving an entire pdf library according to a bibtex file
Date: Mon, 19 Sep 2016 09:51:06 -0400	[thread overview]
Message-ID: <m2mvj4uhf9.fsf@andrew.cmu.edu> (raw)
In-Reply-To: <nrafuf$p0f$1@blaine.gmane.org>


Martin Leduc writes:

> Hi,
>
> I just discovered org-ref recently and would like to manage my entire 
> pdf library with it. Basically, my set-up is a folder containing many 
> scientific papers in pdf, and a bibtex file containing most of the 
> entries related to these pdfs.
>
> My bibtex file is well linked to org-ref and I have already moved 
> several pdfs into the bibtex-pdfs/ folder so that they can be opened 
> easily using their bibtex entry. However, I found this to be a lot of 
> work for moving/linking only a few pdfs. I'm wondering if there is a way 
> to automate that.

Look at org-ref-pdf-dir-to-bibtex and see if it will do what you need.
It will probably download the pdfs again though. I do not have time for
a few months to make it not do that. It is a short function though, and
it might not be hard to modify it yourself to get what you want. This
isn't well tested though, so make sure you have backups of your pdfs.

> When I'm moving one of my pdfs onto the emacs window with the 
> bibliography opened, it tries to download the pdf from the web using the 
> doi (if found). However, is there a way to bypass the download (because 
> I already have the file) and to directly move/rename the pdf to the 
> bibtex-pdfs/ folder while validating my bibtex entry (or creating a new 
> one, does not matter) ?

I do not think there is currently a way to do this. The code was written
originally as doi-centric, so the pdf route is not as well developed
yet. It is probably possible, but it would take some care to get it
right for when no doi is found, when one doi is found, and when multiple
dois are found.

>
> Thanks for helping,
> Martin


-- 
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

      parent reply	other threads:[~2016-09-19 13:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-14  3:25 org-ref: renaming/moving an entire pdf library according to a bibtex file Martin Leduc
2016-09-14  4:50 ` Adam Porter
2016-09-19 13:51 ` John Kitchin [this message]

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  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=m2mvj4uhf9.fsf@andrew.cmu.edu \
    --to=jkitchin@andrew.cmu.edu \
    --cc=emacs-orgmode@gnu.org \
    --cc=ldcmrtn@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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).