Re: [O] problem with org-ref after upgrading org-mode from 8.3 to 9.0.5

2017-04-05 Thread Johannes Brauer
The problem was a corrupted let-plist package in my elpa folder. After reinstalling the package all works fine. Johannes Am 03.04.2017 um 20:05 schrieb John Kitchin mailto:jkitc...@andrew.cmu.edu>>: That looks like an issue with helm-Bibtex. You might try updating it and/or raise an issue with

Re: [O] problem with org-ref after upgrading org-mode from 8.3 to 9.0.5

2017-04-03 Thread John Kitchin
That looks like an issue with helm-Bibtex. You might try updating it and/or raise an issue with that package. On Mon, Apr 3, 2017 at 11:03 AM Johannes Brauer wrote: > that’s what I get executing (require 'org-ref): > > Debugger entered--Lisp error: (error "Required feature ‘let-alist’ was not >

Re: [O] problem with org-ref after upgrading org-mode from 8.3 to 9.0.5

2017-04-03 Thread Johannes Brauer
that’s what I get executing (require 'org-ref): Debugger entered--Lisp error: (error "Required feature ‘let-alist’ was not provided") require(let-alist) byte-code("\300\301!\210\300\302!\210\300\303!\210\300\304!\210\300\305!\210\300\306!\210\300\307!\210\300\310!\210\300\311!\207" [require

Re: [O] problem with org-ref after upgrading org-mode from 8.3 to 9.0.5

2017-04-03 Thread John Kitchin
I have not seen that before. Was there a traceback that indicated where the error came from? Johannes Brauer writes: > Hi, > after the upgrade (require 'org-ref) results in the error message: > (error "Required feature ‘let-alist’ was not provided“) > > I am using Aquamacs 3.3 GNU Emacs 25.1.1.

[O] problem with org-ref after upgrading org-mode from 8.3 to 9.0.5

2017-04-01 Thread Johannes Brauer
Hi, after the upgrade (require 'org-ref) results in the error message: (error "Required feature ‘let-alist’ was not provided“) I am using Aquamacs 3.3 GNU Emacs 25.1.1. I looked for let-plist using list-packages and found: let-alist 1.0.4 built-in What is going wrong? Joh

Re: [O] Problem with org-ref

2015-12-25 Thread Andreas Kiermeier
Magic! Thanks a lot, John. On 26 December 2015 at 12:06, John Kitchin wrote: > That sounds ok. I pushed a change that sort of does what you ask for. If > the "calculated" pdf doesn't exist then you should get prompted for a pdf, > and pressing enter for the default (no pdf) should not add a pdf

Re: [O] Problem with org-ref

2015-12-25 Thread John Kitchin
That sounds ok. I pushed a change that sort of does what you ask for. If the "calculated" pdf doesn't exist then you should get prompted for a pdf, and pressing enter for the default (no pdf) should not add a pdf link. John --- Professor John Kitchin Doherty Hall A

Re: [O] Problem with org-ref

2015-12-25 Thread Andreas Kiermeier
Thanks John. Yes, that was the case, because I had no intention of downloading the pdfs. So I had set (setq doi-utils-download-pdf nil) and left org-ref-pdf-directory nil. Setting it to a valid directory gets rid of the error. Thanks. I would find it useful (given that I've disabled auto-downlo

Re: [O] Problem with org-ref

2015-12-25 Thread John Kitchin
What about the value of org-ref-pdf-directory. This seems to be where your error is coming from. Your debugger info suggests it is set to nil. Debugger entered--Lisp error: (wrong-type-argument stringp nil) file-name-as-directory(nil) org-ref-open-bibtex-notes() doi-utils-insert-bibtex-entry

Re: [O] Problem with org-ref

2015-12-24 Thread Andreas Kiermeier
I've set the HOME environment variable to "C:/Users/andre_000/Documents" and hence need the .. to get into the Dropbox folder. Executing (find-file org-ref-bibliography-notes) does find and open the correct notes file. Using an absolute path, as in: (setq org-ref-bibliography-notes "C:/Users/and

Re: [O] Problem with org-ref

2015-12-24 Thread John Kitchin
That is an odd looking path. On Mac that would expand to something like /Users/Dropbox/_biblio/org-ref/bibnotes.org and on linux /home/Dropbox/_biblio/org-ref/bibnotes.org usually you should not have permission for that, and neither make sense to me. Does (file-exists-p org-ref-bibliography-no

Re: [O] Problem with org-ref

2015-12-24 Thread Andreas Kiermeier
Hi John, I've set it at follows (based on your setup) in my init.el file: (setq org-ref-bibliography-notes "~/../Dropbox/_biblio/org-ref/bibnotes.org" org-ref-default-bibliography '("~/../Dropbox/_biblio/refs.bib")) So, non-nil. Andreas​ On 25 December 2015 at 00:45, John Kitchin wrote:

Re: [O] Problem with org-ref

2015-12-24 Thread John Kitchin
On Thu, Dec 24, 2015 at 1:04 AM, Andreas Kiermeier < andreas.kierme...@gmail.com> wrote: > org-ref-open-bibtex-notes() That looks like a different error that occurs in org-ref-open-bibtex-notes(). Up to that point everything looks normal. What do you have your org-ref-bibliography-notes variab

Re: [O] Problem with org-ref

2015-12-23 Thread Andreas Kiermeier
Hi John, thanks for the quick feedback and fix. Yes, the version that comes with GitHub (on Windows) works when set this way, though I had to specify slightly differently (i.e quotes & backslashes): (setq pdftotext-executable "C:/Users/andre_000/AppData/Local/GitHub/PortableGit_c7e0cbde92ba565cb2

Re: [O] Problem with org-ref

2015-12-23 Thread John Kitchin
I tested part of this on Windows in a git bash shell: $ pdftotext -v pdftotext version 0.14.5 Copyright 2005-2010 The Poppler Developers - http://poppler.freedesktop.org Copyright 1996-2004 Glyph & Cog, LLC and then this works: $ pdftotext.exe kitchin-2015-examp.pdf - | grep DOI ACS Catal., Just

Re: [O] Problem with org-ref

2015-12-23 Thread Andreas Kiermeier
Hi John, similar doi problem here. My configuration is: - Windows 10 - GNU Emacs 24.5.1 (i686-pc-mingw32) of 2015-04-11 on LEG570 - Miktex (up-to-date) with pdftotext v0.32..0 - org-ref v 0.5.0 (from melpa) Running pdftotext from the command line works and produces a text file with do

Re: [O] Problem with org-ref

2015-12-23 Thread marvin doyley
Hi John, Its now working, it turns out the version of pdftotext that I was using wasn’t 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: > > Thanks! D

Re: [O] Problem with org-ref

2015-12-23 Thread marvin doyley
Hi John,I am using a Mac too, and pdftotext seem to be working, well for an ocr file (see below) if I run pdftotext on the original pdf I get nothing.cheers,MPS I am using brew poppler, which includes pdftotext On Dec 23, 2015, at 4:30 PM, John Kitchin wrote:Thanks! Do you

Re: [O] Problem with org-ref

2015-12-23 Thread John Kitchin
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 dep

[O] Problem with org-ref

2015-12-23 Thread marvin doyley
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’t 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 Publ