emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-ref: renaming/moving an entire pdf library according to a bibtex file
@ 2016-09-14  3:25 Martin Leduc
  2016-09-14  4:50 ` Adam Porter
  2016-09-19 13:51 ` John Kitchin
  0 siblings, 2 replies; 3+ messages in thread
From: Martin Leduc @ 2016-09-14  3:25 UTC (permalink / raw)
  To: emacs-orgmode

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.

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

Thanks for helping,
Martin

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: org-ref: renaming/moving an entire pdf library according to a bibtex file
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Adam Porter @ 2016-09-14  4:50 UTC (permalink / raw)
  To: emacs-orgmode

Martin Leduc <ldcmrtn@gmail.com> writes:

> 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 haven't yet used org-ref myself, but it should be possible to advise
the function that handles the downloading to look for a local copy first
and use it instead.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: org-ref: renaming/moving an entire pdf library according to a bibtex file
  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
  1 sibling, 0 replies; 3+ messages in thread
From: John Kitchin @ 2016-09-19 13:51 UTC (permalink / raw)
  To: ldcmrtn; +Cc: emacs-orgmode


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-09-19 13:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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

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