[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] org-ref: renaming/moving an entire pdf library according to a bi
From: |
John Kitchin |
Subject: |
Re: [O] org-ref: renaming/moving an entire pdf library according to a bibtex file |
Date: |
Mon, 19 Sep 2016 09:51:06 -0400 |
User-agent: |
mu4e 0.9.16; emacs 25.1.50.1 |
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