From mboxrd@z Thu Jan 1 00:00:00 1970 From: marvin doyley Subject: Problem with org-ref Date: Wed, 23 Dec 2015 16:22:22 -0500 Message-ID: <9B7FD49A-1A5F-42D3-9D9F-72BB151AF28C@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_3F5DC901-C8FA-4481-939D-44A14FAF2242" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40685) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aBqre-0002do-JR for emacs-orgmode@gnu.org; Wed, 23 Dec 2015 16:22:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aBqrb-0007LO-Bz for emacs-orgmode@gnu.org; Wed, 23 Dec 2015 16:22:30 -0500 Received: from mail-qg0-x229.google.com ([2607:f8b0:400d:c04::229]:33000) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aBqrb-0007LJ-7g for emacs-orgmode@gnu.org; Wed, 23 Dec 2015 16:22:27 -0500 Received: by mail-qg0-x229.google.com with SMTP id k90so162544285qge.0 for ; Wed, 23 Dec 2015 13:22:26 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Cc: John Kitchin --Apple-Mail=_3F5DC901-C8FA-4481-939D-44A14FAF2242 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 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=E2=80=99t 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 Publishing), but I got the same = error. Dragging the url to the bibtex file also doesn=E2=80=99t works = for me. cheers, M PS by the way, your video was excellent :)= --Apple-Mail=_3F5DC901-C8FA-4481-939D-44A14FAF2242 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 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=E2=80=99t 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 = Publishing), but I got the same error. Dragging the url to the bibtex = file also doesn=E2=80=99t works for me.

cheers,
M

PS by the way, your video was excellent = :)
= --Apple-Mail=_3F5DC901-C8FA-4481-939D-44A14FAF2242-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: Problem with org-ref Date: Wed, 23 Dec 2015 16:30:41 -0500 Message-ID: References: <9B7FD49A-1A5F-42D3-9D9F-72BB151AF28C@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c3babe1c04a00527976f67 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42097) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aBqzb-0004gd-Ge for emacs-orgmode@gnu.org; Wed, 23 Dec 2015 16:30:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aBqza-000062-C9 for emacs-orgmode@gnu.org; Wed, 23 Dec 2015 16:30:43 -0500 Received: from mail-wm0-x232.google.com ([2a00:1450:400c:c09::232]:36083) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aBqza-00005y-5G for emacs-orgmode@gnu.org; Wed, 23 Dec 2015 16:30:42 -0500 Received: by mail-wm0-x232.google.com with SMTP id p187so160856227wmp.1 for ; Wed, 23 Dec 2015 13:30:41 -0800 (PST) In-Reply-To: <9B7FD49A-1A5F-42D3-9D9F-72BB151AF28C@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: marvin doyley Cc: "emacs-orgmode@gnu.org" --001a11c3babe1c04a00527976f67 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 depending on the base of the url. I did that on a Mac, and I haven't tested it on a windows or Linux machine. John ----------------------------------- 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 On Wed, Dec 23, 2015 at 4:22 PM, marvin doyley wrote: > 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=E2=80=99t 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 Publishing), but I got the same error. Dragging the url to the > bibtex file also doesn=E2=80=99t works for me. > > cheers, > M > > PS by the way, your video was excellent :) > --001a11c3babe1c04a00527976f67 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
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 w= hat to match depending on the base of the url.

I did tha= t on a Mac, and I haven't tested it on a windows or Linux machine.=C2= =A0

John

---= --------------------------------
Professor John Kitchin=C2=A0
Doherty= Hall A207F
Department of Chemical Engineering
Carnegie Mellon Univer= sity
Pittsburgh, PA 15213
412-268-7803

On Wed, Dec 23, 2015 at 4:22 PM, marvin doyl= ey <marvinpas@gmail.com> wrote:
Hi John,

I am playing wi= th org-ref, =C2=A0the melpa version.

Everything works fine except, o= ne thing.=C2=A0 When I drag a pdf to an empty bibtex file it doesn=E2=80=99= t extract the doi ( no doi found in the=C2=A0file:///). I tried it p= df you used =C2=A0in your video (Examples of Effective Data Sharing in Scie= ntific Publishing), but I got the same error. Dragging the url to the bibte= x file also doesn=E2=80=99t works for me.

cheers,
M

PS by the way, your video was excellent :)

--001a11c3babe1c04a00527976f67-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: marvin doyley Subject: Re: Problem with org-ref Date: Wed, 23 Dec 2015 16:44:30 -0500 Message-ID: References: <9B7FD49A-1A5F-42D3-9D9F-72BB151AF28C@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_8B1C08BD-0F3A-4E3A-9CA9-DCC292341BF3" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44886) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aBrD5-0000WT-7L for emacs-orgmode@gnu.org; Wed, 23 Dec 2015 16:44:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aBrD1-0003VS-0f for emacs-orgmode@gnu.org; Wed, 23 Dec 2015 16:44:39 -0500 Received: from mail-qg0-x22b.google.com ([2607:f8b0:400d:c04::22b]:36792) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aBrD0-0003VL-Pt for emacs-orgmode@gnu.org; Wed, 23 Dec 2015 16:44:34 -0500 Received: by mail-qg0-x22b.google.com with SMTP id c96so142169631qgd.3 for ; Wed, 23 Dec 2015 13:44:34 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: John Kitchin Cc: "emacs-orgmode@gnu.org" --Apple-Mail=_8B1C08BD-0F3A-4E3A-9CA9-DCC292341BF3 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii 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, M PS I am using brew poppler, which includes pdftotext =20 > On Dec 23, 2015, at 4:30 PM, John Kitchin = wrote: >=20 > 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 depending on the base of the url. >=20 > I did that on a Mac, and I haven't tested it on a windows or Linux = machine.=20 >=20 > John --Apple-Mail=_8B1C08BD-0F3A-4E3A-9CA9-DCC292341BF3 Content-Type: multipart/mixed; boundary="Apple-Mail=_B055F875-3E11-4813-B99B-1C24A61985FB" --Apple-Mail=_B055F875-3E11-4813-B99B-1C24A61985FB Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii 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,
M

PS I am using brew = poppler, which includes pdftotext
 
On = Dec 23, 2015, at 4:30 PM, John Kitchin <jkitchin@andrew.cmu.edu> wrote:

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 depending = on the base of the url.

I did that on a Mac, and I haven't tested it on a windows or = Linux machine. 

John
= --Apple-Mail=_B055F875-3E11-4813-B99B-1C24A61985FB Content-Disposition: attachment; filename=acscatal%2E5b00538-OCR.txt Content-Type: text/plain; name="acscatal%2E5b00538-OCR.txt" Content-Transfer-Encoding: quoted-printable O~ This is an open access article published under an ACS Authorchoice = License which permits copyingand redistribution ofthe article or any adaptations = fornon-commercialpurposes. ACS rditers' Choice r e pubs.acs.org/acscatalysis Examples of Effective Data Sharing in Scientific Publishing John R. Kitchin* Department of Chemical Engineering, Carnegie Mellon University, 5000 = Forbes Avenue, Pittsburgh, Pennsylvania 15213, United States 6 Supporting Information ABSTRACT: We present a perspective on an approach to data sharing in = scientific publications we have been developing in our group. The essence of the approach is that data can be embedded in a = human-readable and machine-addressable way within the traditional publishing environment. We show this by example for both computational = and experimental data. We articulate a need for new authoring tools to facilitate data sharing, and we discuss the tools we have been = developing for this purpose. With these tools, data generation, analysis, and manuscript preparation can be deeply integrated, resulting = in easier and better data sharing in scientific publications. 1. INTRODUCTION a)Q Data sharing and m anagement plans are becoming an increasingly important requirement for scientific research. The 1 National Science Foundation requires a data management plan for all proposals and has a formal statement on data sharing. The Department of Energy is beginning to require this in some proposals and has issued a formal statement on data management. Th e N = ational Institutes of Health has a formal data sharing policy.4 These mandates do not usually say how the data management plan must be implemented, simply that there must be one that is appropriate for the data being generated and consistent with the needs of the scientific field. There are several challenges to meeting these requirements. Data is a generic term that refers to a broad range of information that = varies in size and complexity. There is no single solution that fits all data. The tools we use to write manuscripts, which has been the primary mode of data sharing for decades typically only include graphical or tabular data. Those data are usually not machine readable nor are they easy to reuse. We believe that progress in data sharing will require the development of = new tools and social expectations about scientific data. T hese tools will have to i n tegrate data directly into t h e manuscripts and into the manuscript preparation workflow, so that by the time one finishes writing the manuscript, the data is already integrated and ready to share with no further work required. When this is possible, data will be shared much more frequently. In this Viewpoint, we illustrate an example of a method we have been developing that enables data, analysis, and code sharing within the traditional publishing environment. We have published several papers this way already including experimental 5 6 work, combined computational and experimental work, and computational work. ' T hese manuscripts in published form are indistinguishable from other manuscripts in those journals. However, the Supporting Information files are very difFerent. Although, at first glance, the Supporting Information files are simple PDF files that provide additional information, there are actually data files embedded (see Figure I a ) in those PDFs which can be extracted and reused. The data is human readable in most cases, and machine addressable, enabling reuse and sharing. We will provide an example of this for a '~ ACg pUbIicgtiQfi5 0201SAmericanchemicalSociety tt v @ Add ~iii Delete cj h Search a Description Name Q data.json Q supportlng-information.org IModined Unknown Unknown b le, to figure our how soine analysis was r , ~< he~. ~ + An embeddedfi le in the PDF Figure 1. (a) The attachments in the Supporting Information of ref 11. There are two attachments. (b) A single attachment in the PDF file. Double-clicking on the thumbtack(in the Supporting Information file) will open the attached file. paper we recently published in ACS Catalysis on "Estimating Bulk-Composition-Dependent Hz Adsorption Energies on Cu=E2=80=9EPd, =E2=80=9EAlloy (111) Surfaces"." The Supporting Information file for that article is available for free.' When opened in a PDF reader that supports attachments, one can see that there are attachments (see Figure I a ). Alternatively, while reading the PDF file, the reader is alerted that there is an attachment by the presence of a thumbtack icon (Figure I b ), which can be double clicked to open the file. An alternative approach to extracting the data and source file is to use a command-line program, such as pdftk' to extract the files from the pdf. File attachments are a standard feature of the PDF specification, and there are a number of ways to create them. This Supporting Information file has two attachments: one is aJSON data file, and one is the source file that generated the PDF. It is also possible to embed data files in a Word document. An example of using a command line utility to extract the attachments is shown in Listing I, which will extract the two data files into the current directory the command is run in. The contents of the files that are extracted are explained in the Supporting Information file, which in this case even contains examples of how to use the data. Received: M arch 13, 2015 Published: May 11, 2015 3894 DOC 10.1021/acscat al,sb00538 ACSCarat 201 5, 5, 3894-3899 =0CREEKER ACS Cata lys is I r f>liilo(lr=C2=BB=C2=BB=C2=BBir: prlfrk IIL>>All>A (' sll h=C2=BBl" =C2=BB I" <' pc ( h(i=C2=BB L>pt>ng I ('on=C2=BBnind fme e=C2=BBtf >et>on ot the dtt Lched hie=C2=BB = ln the s=C2=BBppott=C2=BB>A infotmdtlon L> tili" '2' A Pvt l=C2=AB=C2=BBi =C2=BB ( Tif)t tr) I > iil i hl> Irl r =C2=BB t f =C2=AB I n i t o t =C2=BB i = >tl< n i f i i =C2=BB l t , i < ki l ( n - P R=C2=BB ' f dO) i i 'l I'Rr'd I I . ) , t (' f d> I f ( I) f* t (k y pp () , lll Now, we have an INCAR file with these contents, which defines the parameters VASP will use in the calculation. Listing 3 shows how to view the contents of the INCAR file. also support file attachments. This small step could significantly improve data sharing. Although some standardization of data formats could be helpful, if t his delays sharing, constrains creativity, or limits sharing, we should tolerate nonstandard Ir=C2=BBlg=C2=BBd" 0: sh approaches. The shared data that is easiest to use will get used more often than data that is not easy to use. In the next sections, we illustrate how easy it is to do this in a Lisrinp 3: Shell m=C2=BBnm=C2=BBnrl tu print t l =C2=AB < u n rcnt, of = tl =C2=AB I =E2=80=A2 C'AR tu t h =C2=AB few applications. We will first show an example of an embedded data file and its use. Then, we will show an alternative example, and a more sophisticated approach to data sharing. r >nsr>l< We can similarly retrieve information about which POTCAR files were used. The VASP license prohibits sharing these, so information about the files used is all one can do here, and in order to reproduce the calculation, one is required to have a VASP license. Note that it will not always be possible to share all data. However, it is often possible to share enough data so that another expert can reproduce the work. 2. USE OF AN EMBEDDED DATA FILE We embedded a data file (data.json) in th e Supporting I nformation PDF fi le. Th e file i s i n JSON format. JSON (javascript object notation) is a standard data format often used in web programming. It is structured and can be read by a number of programming languages or by web-based programs (e.g.f http:f'f'www.jsoneditoronline.orgf' ). The data set here is a fit-for-purpose format, which is described in the Supporting l)IIIAII IA(" d I Information document. The data.json file embedded in the Supporting Information PDF contains all the geometries and computational parameters 1 dr =E2=80=A2 I . ..i d (f p =C2=AB > l i< (,Ik =C2=BB1>tlo=C2=BB, d()) 'I I'dr' I I I I ' (ITC,IRS p=C2=BB used for every DFT calculation in the paper. Here, we consider how one could extract the information for a single calculation so that it could be used as the starting point for a new calculation. To do this in VASP, for example, that means extracting the data f ) c t l l <111 k P vt h ( i =C2=BB < >R)t io f( =C2=BBrl i h (* PIITC'AR f>k* mlr)fm = iiin=C2=BB lof , i L i im " The IWOINTS file would be created from data in the "input" section of the calculator data. We extract these in Listing 5. Based on the information provided, it is evident a IG OINTS file should be generated that creates a 10 X 10 X 1 Monkhorst =E2=80=94 Pack k-point grid (see the Supporting Information for the output of needed to create an INCAR, POSCAR, POTCAR, and IG OINTS file. These are input files for the VASP density functional theory code. We will choose as the example a clean palladium hydride slab. The critical point we wish to communicate here is that there is machine-readable code embedded in the Supporting Information Listing 5). I=C2=BB=C2=BBA=C2=BB lxc. il rthr=C2=BBl Li=C2=BBt=C2=BBl" , =C2=BB 5 1=C2=BBlf)h=C2=BB . file that can be reused. The output from each Listing can be found in the Supporting Information. Reading the Supporting Information file suggests the following ' Python" code (Listing 2 ) would extract th e I N C A R d I p=C2=BB parameters, and then we write each key/value pair to a fi le called INCAR (a file containing input parameters for VASP ). There i s a n e x t r a k e y c a lled d doc d that provides some P v t l i r=C2=BBl =C2=BBI > if)t Tr) Ir =C2=BB l T h < olhfir=C2=BBl pr=C2=BB = =C2=BB =C2=BB ctcts s=C2=BBlu=C2=BB = I=C2=BB=C2=BB('t=C2=BB=C2=BBl 11. 1 I dr t .- . i i d (f du l 'I I'111'd I I I 'tl7111'R=C2=BB PJT : rr'(0 > (I > I t (k y , l )1 We can leverage the Atomic Simulation Environment (ASE) to easily create the POSCAR file from the chemical symbols, positions, and unit cell stored in the json file. ASE can also write other input file types including GPAW, Wien21I)- (i. PP>fin)) . ( Pll>t tn r i( itr =C2=AB P ( ) s f 2) ff filn = fir)ni Ili( * f dnn (Idt i f il i l n P i dur r ifir I tf( )tf,it in>). =E2=80=A2 d P)"' ) I di =C2=AB* I P d (I I II I ( Pd d A l l , d()) 'l ( HPI l ( I I t I lt ) : lt' ii'li ) Next, one would then create a POTCAR file (this file contains the pseudopotentials used by VASP ) consistent with t h e POSCAR file, and then VASP could be run to reproduce the result, or th e atoms could be m odified to start some new calculation. ThisJSON file contains all of the data used in making the figures in the paper, and it can all be extracted for reuse using any kind of scripting language with JSON support. It should be evident that this information is sufficient for an expert to create very similar calculations in other DFT c odes besides VASP as well. We emphasize here that JSON was used as a data format because it is (I) suitable to organize the data, (2) it is easy to generate, (3) it is easy to reuse. However, other data formats are easily used as well. In ref 7, we embedded csv (comma-separated value) files. Other formats including netCDF, HDF, sqlite, and so forth, could also be used if they were fit for purpose. It is even possible to embed data files from proprietary softare; in ref 5> we embedded Excel files into the Supporting Information files. Naturally, these files are only useful to people who have access to the software required to read the files. Although it is technically possible to embed any type of file in a PDF, some readers restrict what you are allowed to open. F or example, Adobe Acrobat will n o t a l low on e t o o p e n executable or zip files for security reasons. These can still be extracted using the pdftk software. Alternatively, these files could be provided separately from the PDF Supporting Information file. This approach of data file embedding may become impractical for very large data sets. In ref 19, we archived a large data set (=3D 1.8 Gb) of DFT calculations in an external data sharing site which assigned the data set a DOI. " An alternative data repository could b e a n i n stitutional data repository which also provides a DOI for citing. It remains to be seen if these repositories remain archival quality r epositories and what happens to the data if the repositories cease to operate due to lack of funding or other reasons. Finally, the embedded data file is part of the Supporting Information file. The Supporting Information is in a sense the metadata that informs the reader what is in the file, how it was made, and by example, how to use it. 3. EMBEDDING DATA WITHIN TEXT There is another approach to storing data in the Supporting Information than just attaching a data file. One challenge with data files is they are often not self-documenting. This means that when they are separated from the source, it may not be clear what is in the file or how to use it. An alternative approach we have been investigating is that the data can be stored in a 3896 machine addressable table or code block within the manuscript. Notably, this table is diiferent than what is read by humans in the PDF. Instead, the table is in a source file that is embedded in the P D F . T h i s i s t h e o t h e r f il e n a m ed s = upportinginformation.org in our example. This file is in a plain text = format that is lightly marked up using org-mode " to diiferentiate text 21 f rom data and code. When this file is opened in Emacs, a powerful text editor, then new data sharing and reuse possibilities are available. Org-mode is a few diEerent things. First, it is a document markup syntax that i s a p proximately plain t ext, and t h at diEerentiates text, citations, equations, tables, images, code, and data. Second, org-mode is a library of code in Emacs that provides rich, functional links, an outline mode, a capability to embed interactive code and data in a document, and the capability to export the document to another format (e.g. PDF, LaTeX, and html among others). We actually write our scientific papers using org-mode as mentioned already. Others have also published papers using org-mode and ' This manuscript was prepared in org-mode. about org-mode.22,22 The code blocks shown in t his manuscript are literally the code that was run in the document in each example. Emacs is able to run the codes, capture the output and insert it into the manuscript. Emacs and org-mode are open-source software, available for free on every major computing platform. One does not need Emacs to read org-mode; the format is in plain text. We would never consider writing org files without Emacs; Emacs provides all the functionality that makes org-mode useful for this application. There is limited support for org-mode in other editors. There are limited but developing org-mode parsers available in Ruby (e.g.> Github can render org files as HTML ) and other languages. We will show in the next paragraph that it is possible to read org-mode with other languages. However, to adapt a quote by N eal Stephenson, w h e n i t c o mes to org-mode, "emacs outshines all o t her editing software i n approximately the same way that the noonday sun does the stars. It is not just bigger and brighter; it simply makes everything else vanish." The key example we want to illustrate here is that tables in org-mode have actually two diEerent functions. First, they are human-readable and can be rendered as regular tablesin the PDF or html format. Second, they are machine addressable and can serve as data sources for code blocks. Much of the data used in ref 11 is stored in tables in the org-source. org-mode provides native support to read these tables in as an array. Alternatively, one can use any scripting tool to parse the org-file and extract the data. For example, in Listing 7, we illustrate a small Python code that opens an org-file, finds the table, and returns the data in the table for further analysis. The key point here is that the data is machine readable, and one is not tied to Emacs or org-mode necessarily to take advantage of the embedded data. org-mode is a syntax, which can be parsed by other tools. We use the code from Listing 7 in Listing 8 to show that one can import the data from a table in the Supporting Information file and use the data for new purposes. We import a table named jm-seg which contains data about the experimentally measured surface and bulk composition of an alloy surface. We use this data to plot the surface composition versus the bulk composition (Figure 2). It should be evident that further analysis is possible at this point, using exactly the same data as was used in our manuscript. DOI: 10.1021/acscata I.sb00538 ACS Cataf. 2015, 5, 3894 =E2=80=94 3899 =0CACS Catalysis l.G src block name; read-sn-orgofile / language: python / Listing 7: Prototype code to read data tables from an org-file. This = code is stored in an external Python module named pymrg table.py so it can be used by = python scripts G.B for analysis. / def striag todtunber(s): 'Try t 1 St b if ' . ' in s : S p s o I le fi try: return float(s) e rcept Val p t , t g / tl t / Q.6 / 8 else: try: t,(s) et pt y l E t 8 G.4 t'oturll e / def ead o g table(files e, table aae, 1 elude header =3Dr e) : ' ' ' R d the t, bi d y ddtENRNE f t he g -f I d PIIENRI(E. If eot nlciUDE HglDEI>,sRtp the ft et oo of thc tebte.''' sich open(fileaaae) asf: co to ts =3D t.readli oeO Sf d th t bi . Et t th 1 t k / / / S+t b t / t ( t t ): 1f (11ne.loserO startssith('lt+tblnaae') 8 d chalone e 1 1 1 M ) t 1, 11 teblodunn =3D i / b / t eo ft t d o to t o f d o t e table data start=3D table nano lt 8 c o te ts[t:]: i f l i tlo =E2=80=A2 e'bette tth( I ) bt'osit else: tsblo data ets t +=3D 1 G.G QI Expt. Pal + i G G.2 G.4 G.6 G.a l. G d th d t data - (] fo line if Figure 2. Experimentally determined surface composition as a function of bulk composition at 900 K. c eateats[table data start:]: 8 11 . t t e t t h( ' I ' ) : bt'88it eitf leuc.startsvith('I =E2=80=94 '): t at [ et =E2=80=A2=3D [ g t b (* . et i p O ) f [ t c- t ) ] * li . t i po . e p l t ( ' I ' ) ] 4. PERSPECTIVE ON THESE APPROACHES if 1 ctude&eaderc t d at a 1 return data[1:] srcblock name: segregation-data language: python Listing 8: Example code for extracting tabular data from s supporting = information org-file. f p r o g t8blo p p t data =3D t t p l tlib.pypl t pit read org table('supportint-1 forsntio .orgu ']8-seg', pales) bQ.R p =3D n [ 0 ] f surf coap =3D [ro [1] t * ro dt ] dat a] p it.f i gure pit f g <' % ef d E 8 pn,' > This example brings up an interesting issue. One does not directly measure these compositions. These compositions were derived from XPS and ion scattering experiments. We did not share that data because at the time it was not practical. In ref 6, the raw temperature-programmed desorption spectra can be found in the Supporting Information org file but not in the PDF. Including them in the PDF would have made it hundreds of pages long of tabular data. Embedding the tables in the org-file, so they could be used as data sources within the org-file, and then subsequently embedding the org file in the PDF still makes this data available. Alternatively, the data could be shared by external or ins t i tutional data stores that provide a citable DOI for the data set. The point is that this approach is very flexible and allows a broad range of data sharing strategies that can be adapted as appropriate to the sharing need. We are increasingly integrating org-mode into our manuscript preparation = workflow, so that the data is already embedded as the manuscript is developed. 3897 The first approach we outlined is immediately accessible to nearly every author. Within Supporting Information files, authors could attach data files and explain how to use them. Ideally, the data files are the same files used in making the figures for the manuscript. Attaching files can be tedious if there are many of them, or if one has to reattach files on every iteration of a PDF generation. Tools such as LaTeX make that less tedious by integrating the attachment process in the manuscript build process. Neither of these approaches, however, enable facile inclusion of analysis and code in a way that ensures they are synchronized (i.e., if one copies code into La TeX, it is no longer guaranteed to be exactly the code that was run to get some results). When coupled with the fact that it is difficult to use the data in the published versions (PDF or html ) of manuscripts, these factors, among others, have led to the dearth of practical data sharing strategies today. We have illustrated how org-mode can streamline the integration of = narrative text, data, analysis, and code into manuscripts. It is ultimately a fail-safe approach to data sharing because the data is almost always in h uman readable, but machineaddressable, form. = We recognize that there is a learning curve associated with writing manuscripts this way, but it can be a long and shallow curve that grows with an author. org-mode is not more difficult to learn than La TeX, and Emacs can be made similar to using Microsoft Word with GUIs and menus. Scientific publishing is a career-long activity, and one should not shy away from learning a tool that can have impact over this time scale. If more manuscripts were written in org-mode, the manuscripts themselves would serve as learning opportunities about how to efFectively organize data and code for sharing and publications. The way we use org-mode is essentially like a scientific notebook Other tools have similar functionality. For example, Matlab has a "notebook" feature that integrates with Microsoft Word, a s well as functionality to export a Matlab script to H TML or LaTeX T here is the Ipython notebook, w h i ch provides similar capability through a web browser, and the newer project Jupyter, which extends the Ipython concept to other languages. For specific uses, each of these tools may provide a DOh 10.1021/acscat al.sb00538 f[CS Ca(a]. 2015, 5, 3894-3899 =0CREEKER ACS Cata lys is solution similar to what we have described here. None of them, however, have the flexibility and power of org-mode. It is worth considering the role of standardization in data s haring. N o s t a n dard c a n m e e t e v e rybody's n e eds i n experimental and computational science. Even with a standard, the lack of tools in standard authoring tools will limit its use. Our opinion is that we should just start sharing data as we have described in this manuscript. Any sharing would probably be better than the general lack of sharing that occurs today. It is true that there may be many dilferent formats and that some will be better than others. The data that is most valuable will be reused in new forms, and best practices will emerge. Data that is not reused will fade into obscurity, an old tradition in the scientific literature. This approach is distinctly dilferent than any approach that advocates for a centralized database. In this approach, the data is distributed among the publishers and anyone who downloads the files. Individual users within domains could curate collections of the data that is fit for specific purposes. These domain experts would be able to convert the various formats into a common format used in their research and likely reshared through the same mechanisms. In contrast, a centralized database would contain a trove of data that is not useful to the majority of the users. Further compounding this is the need for some standardized formats for the data for most database approaches, and maintenance costs associated with the servers that must host this. While there have been some successful examples of this, e.g. the Protein Databank, or crystallography databases, these examples are in highly specialized fields, with relatively uniform types of data. Elforts to create centralized databases for catalysis should be supported, but we should not wait for them to be created to share data we can share now. By sharing now, we can enable this data to potentially be included in larger database elforts in the future. The approaches we have presented here certainly do not address every issue of data sharing or reproducibility. There are other approaches to data sharing and reproducibility in the literature (e.go the use of a Java Virtual Machine and the Hierarchical Data Format ),' a n d a n u mber of approaches are discussed in ref 33 and in a recent book on "Implementing Reproducible Research".' Many of these approaches have been developed for domain-specific problems (e.go u sing R f o r statistical analysis or using Matlab for a specific kind of problem), and they t end t o f o cu s o n c o m p utational research. The approaches we present in this work have been used by us in both experimental and computational research publications. In our opinion, the approaches presented here address many of the issues in data sharing and reproducibility, and they provide a path forward that is likely to improve existing elforts in data sharing and in reproducibility. =E2=80=A2 AC K N O WLEDGMENTS We gratefully acknowledge support from the DOE Office of Science Early Career Research program (DE-SC0004031). We also acknowledge support from the Simon Initiative at Carnegie Mellon University and the Phillip L. Dowd teaching fellowship for support. =E2=80=A2 (I) RE F ERENCES N a t ional Science Foundation, NSF D ata M anagement Plan Requirements. http: //www.nsf gov/eng/general/dmp.jsp (accessed February 23, 2015). (2) National Science Foundation, Dissemination and Sharing of Research Results. http: //www.nsf gov/bfa/dias/policy/dmp.jsp (accessed = February 23, 2015). (3) Department of Energy, Statement on Digital Data Management. http: //science. = energy.gov/funding-opportunities/digital-datamanagement/ (4) National Institutes of Health, NIH Data Sharing Policy. http: // grants.nih.gov/grants/policy/data sharing/ (accessed February 23, 2015). (5) Hallenbeck, A. P.; Kitchin, J. R. Ind. Eng. Chem. Res. Z013, 52, 10788-10794. (6) Miller, S. D.; Pushkarev, V. V.; Gellman, A.J.; Kitchin, J. R. Top. Caial. Z014, 57, 106 =E2=80=94 117. (7) Curnan, M. T.; Kitchin, J. R. J.Phys. Chem. C Z014, 118, 2877628790. (8) Xu, Z.; Kitchin, J. R. J. Phys. Chem. C Z014, 118, 25597 =E2=80=94 = 25602. (9) Xu, Z.; Kitchin, J. R. Caial. Commun. Z014, 52, 60 =E2=80=94 64. (10) Mehta, P.; Salvador, P. A.; Kitchin, J. R.ACS Appl. Mater. = Interfaces 2014, 6, 3630-3639. (I I) Boes, J. R.; Gumuslu, G.; Miller, J. B.; Gellman, A.J.; Kitchin, = J. R. ACS Caial. Z015, 5, 1020 =E2=80=94 1026. (12) Boes, J. R.; Gumuslu, G.; Miller, J. B.; Gellman, A.J.; Kitchin, J. = R. ACS Caial. Z015, Supporting information. Vol. 5, p 1020, 10.1021/ cs501585k (13) PDF Laboratories, PDFtk the pdf toolkit. https://www.pdflabs. corn/tools/pdftk-the-pdf-toolkit/, h t tps:// www.pdflabs.corn/tools/ pdftk-the-pdt-toolkit/ (14) Pakin, S. attach file. http: //www.ctan.org/tex-archive/macros/ latex/contrib/attachhle, vl.Sb. (15) Python Software Foundation, Python. https://www.python.org (16) Millman, K. J.; Aivazis, M. Compui. Sci. Eng.Z011, 13, 9 =E2=80=94 = 12. (17) Perkel, J. M. Nature Z015, 518, 125 =E2=80=94 126. (18) Bahn, S. R.; Jacobsen, K. W. Compui. Sci. Eng.ZOOZ, 4, 56 =E2=80=94 = 66. (19) Xu, Z.; Rossmeisl, J.; Kitchin, J. R. Supporting data for: A linear response, DFT+U study of trends in the oxygen evolution activity of transition metal rutile dioxides. https://zenodo.org/record/12635, 10.5281/zenodo.12635. (20) Dominik, C. The Org. Mode8 Reference Manual - Organize your lif e with GNU Emacs; Samurai Media Limited: Hong Kong, 2014. (21) Free Software Foundation, Emacs. https://www.gnu.org/ software/emacs/emacs.html, v24.3 (22) Schulte, E.; Davison, D. Compui. Sci. Eng.Z011, 13, 66 =E2=80=94 = 73. (23) Schulte, E.; Davison, D.; Dye, T.; Dominik, C. Journal of = Statistical SoftwareZOIZ, 46, I =E2=80=94 24. (24) Stephenson, N. In Ihe Beginning "was Ihe Command Line, 1st ed. ed.; William Morrow Paperbacks: New York, 1999. (25) Zenodo. https://zenodo.org, Zenodo builds and operate a simple AS S O CIATED CONTENT O Supporting Information The Supporting Information is available free of charge on the ACS Publications website at DOI: 10.1021/acscatal.Sb00538. The manuscript org source, and the output from the code and innovative service that enables researchers, scientists, EU = projects, and institutions to share and showcase multidisciplinary research = results (data and publications) that are not part of the existing institutional = or subject-based repositories of the research communities. listings (P D F ) =E2=80=A2 =E2=80=A2 AU T H OR INFORMATION (26) figshare. http: //hgshare.corn, figshare helps academic = institutions Corresponding Author *E-mail: jkitchingandrew.cmu.edu. store, share and manage all of their research outputs (27) Data Science at The Institute for Quantitative and Social Science, Notes The Dataverse Project. http: //dataverse.org (accessed February 23, 2015). The authors declare no competing financial interest. 3898 Dol:10a 021iacscata tsb00538 Acs Catat 2015, 5, 3894 =E2=80=94 3899 =0CREEKER ACS Cata lys is (28) Borgman, C. L.J. Am.J.Am. Soc. Inf. Sci. Technol.Z01Z, 63, = 10591078. (29) MathWorks, MATLAB Notebook. http: //www.mathworks.corn/ help/matlab/matlab prog/create-a-matlab-notebook-with-microsoftword. = html, The MATLAB notebook integrates Microsoft Word and MATLAB to create a functional document with integrated code and results. (30) Perez, Fa Granger, B. E. Compuf. Sci. Eng.Z007, 9, 21 =E2=80=94 29. (31) Project Jupyter. http: //jupyter.org/, The Jupyter Project provides a web-browser based computational notebook w it h a r a nge o f computational backends including Python, Julia, R and others. (32) Hinsen, K. Procedia Compufer ScienceZ011, 4, 579 =E2=80=94 588. (33) Fomel, Sa Claerbout, J. F. Compuf. Sci. Eng. Z009, 11, 5 =E2=80=94 = 7. (34) Implemenfing Reproducible Research;Stodden, Va Leisch, Fa Peng, R. D., Edsa Chapman and Hall/CRC: London, 2014. 3899 DOI: 10.1021/acscata 1.5b00538 AC5 Cata/. 2015, 5, 3894 =E2=80=94 3899 =0C= --Apple-Mail=_B055F875-3E11-4813-B99B-1C24A61985FB Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=us-ascii
--Apple-Mail=_B055F875-3E11-4813-B99B-1C24A61985FB-- --Apple-Mail=_8B1C08BD-0F3A-4E3A-9CA9-DCC292341BF3-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: marvin doyley Subject: Re: Problem with org-ref Date: Wed, 23 Dec 2015 17:16:16 -0500 Message-ID: <38DC9872-15B9-4DDE-95E6-592176943821@gmail.com> References: <9B7FD49A-1A5F-42D3-9D9F-72BB151AF28C@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_497D782A-A92B-48DE-A81C-E2D15CDFE417" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52573) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aBrho-0005gx-6Z for emacs-orgmode@gnu.org; Wed, 23 Dec 2015 17:16:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aBrhk-0002VE-62 for emacs-orgmode@gnu.org; Wed, 23 Dec 2015 17:16:24 -0500 Received: from mail-qk0-x22c.google.com ([2607:f8b0:400d:c09::22c]:36039) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aBrhk-0002VA-0y for emacs-orgmode@gnu.org; Wed, 23 Dec 2015 17:16:20 -0500 Received: by mail-qk0-x22c.google.com with SMTP id t125so165125030qkh.3 for ; Wed, 23 Dec 2015 14:16:19 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: John Kitchin Cc: "emacs-orgmode@gnu.org" --Apple-Mail=_497D782A-A92B-48DE-A81C-E2D15CDFE417 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi John, Its now working, it turns out the version of pdftotext that I was using = wasn=E2=80=99t 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: >=20 > 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 depending on the base of the url. >=20 > I did that on a Mac, and I haven't tested it on a windows or Linux = machine.=20 >=20 > John >=20 > ----------------------------------- > Professor John Kitchin=20 > Doherty Hall A207F > Department of Chemical Engineering > Carnegie Mellon University > Pittsburgh, PA 15213 > 412-268-7803 > @johnkitchin > http://kitchingroup.cheme.cmu.edu >=20 >=20 > On Wed, Dec 23, 2015 at 4:22 PM, marvin doyley > wrote: > Hi John, >=20 > I am playing with org-ref, the melpa version. >=20 > Everything works fine except, one thing. When I drag a pdf to an = empty bibtex file it doesn=E2=80=99t 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 Publishing), but I got the same = error. Dragging the url to the bibtex file also doesn=E2=80=99t works = for me. >=20 > cheers, > M >=20 > PS by the way, your video was excellent :) >=20 --Apple-Mail=_497D782A-A92B-48DE-A81C-E2D15CDFE417 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
Hi John,
Its now working, it turns out = the version of pdftotext that I was using wasn=E2=80=99t 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 <jkitchin@andrew.cmu.edu> wrote:

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 depending on the base of the url.

I did that on a Mac, and = I haven't tested it on a windows or Linux machine. 

John

-----------------------------------
Professor = John Kitchin 
Doherty Hall A207F
Department of Chemical Engineering
Carnegie = Mellon University
Pittsburgh, PA 15213
412-268-7803

On Wed, Dec 23, 2015 at 4:22 = PM, marvin doyley <marvinpas@gmail.com> wrote:
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=E2=80=99t 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 Publishing), but I got the same error. Dragging the url to = the bibtex file also doesn=E2=80=99t works for me.

cheers,
M

PS by the way, your video was excellent = :)


= --Apple-Mail=_497D782A-A92B-48DE-A81C-E2D15CDFE417-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Kiermeier Subject: Re: Problem with org-ref Date: Thu, 24 Dec 2015 10:26:53 +1030 Message-ID: References: <9B7FD49A-1A5F-42D3-9D9F-72BB151AF28C@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c117765a91240527997c47 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54719) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aBtHj-0002Rt-Pm for emacs-orgmode@gnu.org; Wed, 23 Dec 2015 18:57:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aBtHi-0007tg-8E for emacs-orgmode@gnu.org; Wed, 23 Dec 2015 18:57:35 -0500 Received: from mail-qg0-x232.google.com ([2607:f8b0:400d:c04::232]:33725) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aBtHi-0007tb-27 for emacs-orgmode@gnu.org; Wed, 23 Dec 2015 18:57:34 -0500 Received: by mail-qg0-x232.google.com with SMTP id k90so164700909qge.0 for ; Wed, 23 Dec 2015 15:57:33 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: John Kitchin Cc: marvin doyley , "emacs-orgmode@gnu.org" --001a11c117765a91240527997c47 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 doi info. Let me know what I can do to help to test things. Thanks. Andreas PS: Thank you for org-ref ... an awesome Xmas present! On 24 December 2015 at 08:00, John Kitchin wrote: > Thanks! Do you know if you have pdftotext working on your machine? The pd= f > 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. T= he > url dnd works similarly, but there are a bunch of recipes for what to mat= ch > depending on the base of the url. > > I did that on a Mac, and I haven't tested it on a windows or Linux > machine. > > John > > ----------------------------------- > 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 > > > On Wed, Dec 23, 2015 at 4:22 PM, marvin doyley > wrote: > >> 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=E2=80=99t extract the doi ( no doi found in the fil= e:///). >> I tried it pdf you used in your video (Examples of Effective Data Shari= ng >> in Scientific Publishing), but I got the same error. Dragging the url to >> the bibtex file also doesn=E2=80=99t works for me. >> >> cheers, >> M >> >> PS by the way, your video was excellent :) >> > > --001a11c117765a91240527997c47 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi John,
simila= r 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 th= e command line works and produces a text file with doi info.
    Let me know what I can do to= help to test things.
Thanks.
Andreas
PS: Thank you for org-ref = ... an awesome Xmas present!


<= /div>
On 24 December 2015 at 08:00, J= ohn Kitchin <jkitchin@andrew.cmu.edu> wrote:
Thanks! Do you know if you have p= dftotext working on your machine? The pdf drag-n-drop works by converting t= he 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 depending on the base of the url.
I did that on a Mac, and I haven't tested it on a windo= ws or Linux machine.=C2=A0

John

-----= ------------------------------
Professor John Kitchin=C2=A0
Doherty H= all A207F
Department of Chemical Engineering
Carnegie Mellon Universi= ty
Pittsburgh, PA 15213
412-268-7803
=

On Wed, Dec 23, 2015 at 4:22 PM, marvin doyl= ey <marvinpas@gmail.com> wrote:
Hi John,

I am playing wi= th org-ref, =C2=A0the melpa version.

Everything works fine except, o= ne thing.=C2=A0 When I drag a pdf to an empty bibtex file it doesn=E2=80=99= t extract the doi ( no doi found in the=C2=A0file:///). I tried it p= df you used =C2=A0in your video (Examples of Effective Data Sharing in Scie= ntific Publishing), but I got the same error. Dragging the url to the bibte= x file also doesn=E2=80=99t works for me.

cheers,
M

PS by the way, your video was excellent :)


--001a11c117765a91240527997c47-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: Problem with org-ref Date: Wed, 23 Dec 2015 20:33:53 -0500 Message-ID: References: <9B7FD49A-1A5F-42D3-9D9F-72BB151AF28C@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1140d862f0318a05279ad42e Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43303) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aBumz-0003dA-FV for emacs-orgmode@gnu.org; Wed, 23 Dec 2015 20:33:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aBumx-00021b-QL for emacs-orgmode@gnu.org; Wed, 23 Dec 2015 20:33:57 -0500 Received: from mail-wm0-x231.google.com ([2a00:1450:400c:c09::231]:38681) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aBumx-00021T-G9 for emacs-orgmode@gnu.org; Wed, 23 Dec 2015 20:33:55 -0500 Received: by mail-wm0-x231.google.com with SMTP id l126so169344242wml.1 for ; Wed, 23 Dec 2015 17:33:55 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Andreas Kiermeier Cc: marvin doyley , "emacs-orgmode@gnu.org" --001a1140d862f0318a05279ad42e Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 Accepted Manuscript =E2=80=A2 DOI: 10.1021/acscatal.5b0053= 8 =E2=80=A2 Publicati on Date (Web): 11 May 2015 readers and citable by the Digital Object Identifier (DOI=C2=AE). =E2=80=9C= Just Accepted=E2=80=9D is an optional service offered sharing site which assigned the data set a DOI. 19 An alternative data repositor y could be an institutional data repository which also provides a DOI for citing. It remains t o be seen if stores that provide a citable DOI for the data set. The point is that this appro ach is very However, I see that in emacs, it appears another pdftotext is getting used, which does not work. ~/Desktop $ pdftotext -v pdftotext version 2.03 Copyright 1996-2003 Glyph & Cog, LLC that is the same version that runs in a cmd shell. The version that seems to work for me is at "C:\Program Files (x86)\Git\bin\pdftotext". I added a variable to set the location of this program, and then rely on the executable path. It was a little tricky to set this right, note the escaped quotes. #+BEGIN_SRC emacs-lisp (setq pdftotext-executable "\"C:/Program Files (x86)/Git/bin/pdftotext\"") #+END_SRC It turned out there was another issue with the uri in the drag-n-drop needing to be unescaped on windows because of the : in the path, which is also done now. I pushed these out. hopefully that makes some progress for you! or at least gives some hints on where to look for the problem. Merry Xmas! John ----------------------------------- 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 On Wed, Dec 23, 2015 at 6:56 PM, Andreas Kiermeier < andreas.kiermeier@gmail.com> wrote: > 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 doi info. > Let me know what I can do to help to test things. > Thanks. > Andreas > PS: Thank you for org-ref ... an awesome Xmas present! > > > On 24 December 2015 at 08:00, John Kitchin > wrote: > >> 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 ma= tch >> depending on the base of the url. >> >> I did that on a Mac, and I haven't tested it on a windows or Linux >> machine. >> >> John >> >> ----------------------------------- >> 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 >> >> >> On Wed, Dec 23, 2015 at 4:22 PM, marvin doyley >> wrote: >> >>> 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=E2=80=99t extract the doi ( no doi found in the fi= le:///). >>> I tried it pdf you used in your video (Examples of Effective Data Shar= ing >>> in Scientific Publishing), but I got the same error. Dragging the url t= o >>> the bibtex file also doesn=E2=80=99t works for me. >>> >>> cheers, >>> M >>> >>> PS by the way, your video was excellent :) >>> >> >> > --001a1140d862f0318a05279ad42e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I tested part of this on Windows in a git bash shell:
<= div>
$ pdftotext -v
pdftotext version 0.14.5
Copyright 2005-2010 The Poppler Developers - http://poppler.freedesktop.org
Copyrigh= t 1996-2004 Glyph & Cog, LLC

and then th= is works:
$ pdftotext.exe kitchin-2015-examp.pdf - | grep DO= I
ACS Catal., Just Accepted Manuscript =E2=80=A2 DOI: 10.1021/acs= catal.5b00538 =E2=80=A2 Publicati
on Date (Web): 11 May 2015
readers and citable by the Digital Object Identifier (DOI=C2=AE). =E2= =80=9CJust Accepted=E2=80=9D is
an optional service offered
=
sharing site which assigned the data set a DOI. 19 An alternative data= repositor
y could be an
institutional data repository = which also provides a DOI for citing. It remains t
o be seen if
stores that provide a citable DOI for the data set. The point is t= hat this appro
ach is very

However= , I see that in emacs, it appears another pdftotext is getting used, which = does not work.
~/Desktop $ pdftotext -v
pdftotext = version 2.03
Copyright 1996-2003 Glyph & Cog, LLC
=

that is the same version that runs in a cmd shell.

The version that seems to work for me is at=C2=A0"= ;C:\Program Files (x86)\Git\bin\pdftotext".

I= added a variable to set the location of this program, and then rely on the= executable path. It was a little tricky to set this right, note the escape= d quotes.

#+BEGIN_SRC emacs-lisp
(s= etq pdftotext-executable "\"C:/Program Files (x86)/Git/bin/pdftot= ext\"")
#+END_SRC


It turned out there was another issue with the uri in the drag-n-d= rop needing to be unescaped on windows because of the : in the path, which = is also done now.=C2=A0

I pushed these out. hopefu= lly that makes some progress for you! or at least gives some hints on where= to look for the problem.

Merry Xmas!
<= div class=3D"gmail_extra">
John

-------------------= ----------------
Professor John Kitchin=C2=A0
Doherty Hall A207F
D= epartment of Chemical Engineering
Carnegie Mellon University
Pittsbur= gh, PA 15213
412-268-7803

On Wed, Dec 23, 2015 at 6:56 PM, Andreas Kie= rmeier <andreas.kiermeier@gmail.com> wrote:
Hi John,
similar doi problem here.
My = configuration is:
  • Windows 10
  • GNU Emacs 24.5.1 (i686-pc-min= gw32) 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 te= xt file with doi info.
Let me know what I can do to help to test things.
Thanks.
Andreas
PS: = Thank you for org-ref ... an awesome Xmas present!


On 24 December= 2015 at 08:00, John Kitchin <jkitchin@andrew.cmu.edu>= wrote:
Thanks! Do you k= now if you have pdftotext working on your machine? The pdf drag-n-drop work= s 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 similar= ly, but there are a bunch of recipes for what to match depending on the bas= e of the url.

I did that on a Mac, and I haven't tes= ted it on a windows or Linux machine.=C2=A0

J= ohn

-----------------------------------
Professor John Kitchin=C2= =A0
Doherty Hall A207F
Department of Chemical Engineering
Carnegie= Mellon University
Pittsburgh, PA 15213
412-268-7803
=

On Wed, Dec 23, 2015 at 4:22 PM, marvin doyl= ey <marvinpas@gmail.com> wrote:
Hi John,

I am playing wi= th org-ref, =C2=A0the melpa version.

Everything works fine except, o= ne thing.=C2=A0 When I drag a pdf to an empty bibtex file it doesn=E2=80=99= t extract the doi ( no doi found in the=C2=A0file:///). I tried it p= df you used =C2=A0in your video (Examples of Effective Data Sharing in Scie= ntific Publishing), but I got the same error. Dragging the url to the bibte= x file also doesn=E2=80=99t works for me.

cheers,
M

PS by the way, your video was excellent :)



--001a1140d862f0318a05279ad42e-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Kiermeier Subject: Re: Problem with org-ref Date: Thu, 24 Dec 2015 16:34:48 +1030 Message-ID: References: <9B7FD49A-1A5F-42D3-9D9F-72BB151AF28C@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11390e2e1f0bef05279ea0ee Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42006) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aBz1m-0004St-Ri for emacs-orgmode@gnu.org; Thu, 24 Dec 2015 01:05:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aBz1k-0003ce-Uc for emacs-orgmode@gnu.org; Thu, 24 Dec 2015 01:05:30 -0500 Received: from mail-qg0-x22f.google.com ([2607:f8b0:400d:c04::22f]:36635) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aBz1k-0003cX-NY for emacs-orgmode@gnu.org; Thu, 24 Dec 2015 01:05:28 -0500 Received: by mail-qg0-x22f.google.com with SMTP id e32so140298qgf.3 for ; Wed, 23 Dec 2015 22:05:28 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: John Kitchin Cc: "emacs-orgmode@gnu.org" --001a11390e2e1f0bef05279ea0ee Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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_c7e0cbde92ba565cb218a5= 21411d0e854079a28c/mingw32/bin/pdftotext.exe") But now the following error occurs, after inserting the new bibtex entry and creating a new note (in the notes file): org-ref-open-bibtex-notes: Wrong type argument: stringp, nil Turning debugging on yields the following: Debugger entered--Lisp error: (wrong-type-argument stringp nil) file-name-as-directory(nil) org-ref-open-bibtex-notes() doi-utils-insert-bibtex-entry-from-doi("10.1016/j.vetpar.2010.10.058") doi-utils-add-bibtex-entry-from-doi("10.1016/j.vetpar.2010.10.058" "c:/Users/andre_000/Dropbox/_biblio/refs.bib") org-ref-pdf-dnd-protocol("file:C%3A/Users/andre_000/Dropbox/Consulting/Proj= ects/RedMeat/MLA_Beef_Measles-C_bovis/literature/VetPara_McFadden_2011.pdf" private) byte-code(" \306 \211 \203% Looks like something is still not quite right with the ":" in the pathname. =E2=80=8BCheers, Andreas=E2=80=8B On 24 December 2015 at 12:03, John Kitchin wrote: > 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 Accepted Manuscript =E2=80=A2 DOI: 10.1021/acscatal.5b00= 538 =E2=80=A2 > Publicati > on Date (Web): 11 May 2015 > readers and citable by the Digital Object Identifier (DOI=C2=AE). =E2=80= =9CJust > Accepted=E2=80=9D is > an optional service offered > sharing site which assigned the data set a DOI. 19 An alternative data > repositor > y could be an > institutional data repository which also provides a DOI for citing. It > remains t > o be seen if > stores that provide a citable DOI for the data set. The point is that thi= s > appro > ach is very > > However, I see that in emacs, it appears another pdftotext is getting > used, which does not work. > ~/Desktop $ pdftotext -v > pdftotext version 2.03 > Copyright 1996-2003 Glyph & Cog, LLC > > that is the same version that runs in a cmd shell. > > The version that seems to work for me is at "C:\Program Files > (x86)\Git\bin\pdftotext". > > I added a variable to set the location of this program, and then rely on > the executable path. It was a little tricky to set this right, note the > escaped quotes. > > #+BEGIN_SRC emacs-lisp > (setq pdftotext-executable "\"C:/Program Files (x86)/Git/bin/pdftotext\""= ) > #+END_SRC > > > It turned out there was another issue with the uri in the drag-n-drop > needing to be unescaped on windows because of the : in the path, which is > also done now. > > I pushed these out. hopefully that makes some progress for you! or at > least gives some hints on where to look for the problem. > > Merry Xmas! > > John > > ----------------------------------- > 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 > > > On Wed, Dec 23, 2015 at 6:56 PM, Andreas Kiermeier < > andreas.kiermeier@gmail.com> wrote: > >> 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 doi info. >> Let me know what I can do to help to test things. >> Thanks. >> Andreas >> PS: Thank you for org-ref ... an awesome Xmas present! >> >> >> On 24 December 2015 at 08:00, John Kitchin >> wrote: >> >>> 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 m= atch >>> depending on the base of the url. >>> >>> I did that on a Mac, and I haven't tested it on a windows or Linux >>> machine. >>> >>> John >>> >>> ----------------------------------- >>> 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 >>> >>> >>> On Wed, Dec 23, 2015 at 4:22 PM, marvin doyley >>> wrote: >>> >>>> Hi John, >>>> >>>> I am playing with org-ref, the melpa version. >>>> >>>> Everything works fine except, one thing. When I drag a pdf to an empt= y >>>> bibtex file it doesn=E2=80=99t extract the doi ( no doi found in the f= ile:///). >>>> I tried it pdf you used in your video (Examples of Effective Data Sha= ring >>>> in Scientific Publishing), but I got the same error. Dragging the url = to >>>> the bibtex file also doesn=E2=80=99t works for me. >>>> >>>> cheers, >>>> M >>>> >>>> PS by the way, your video was excellent :) >>>> >>> >>> >> > --001a11390e2e1f0bef05279ea0ee Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi John,

thanks for the quick feedback and fix. Yes, the vers= ion that comes with GitHub (on Windows) works when set this way, though I h= ad to specify slightly differently (i.e quotes & backslashes):

(= setq pdftotext-executable "C:/Users/andre_000/AppData/Local/GitHub/Por= tableGit_c7e0cbde92ba565cb218a521411d0e854079a28c/mingw32/bin/pdftotext.exe= ")

But now the following = error occurs, after inserting the new bibtex entry and creating a new note = (in the notes file):

org-ref= -open-bibtex-notes: Wrong type argument: stringp, nil

Turning debugging on yields the following:

D= ebugger entered--Lisp error: (wrong-type-argument stringp nil)
=C2=A0 file-name-as-directory(nil)
=C2=A0 org-ref-open-bibtex-notes()
=C2=A0 doi-utils-insert-bibtex-entry-from-doi("10.1016/j.vet= par.2010.10.058")
=C2=A0 doi-utils-a= dd-bibtex-entry-from-doi("10.1016/j.vetpar.2010.10.058" "c:/= Users/andre_000/Dropbox/_biblio/refs.bib")
=C2=A0 org-ref-pdf-dnd-protocol("file:C%3A/Users/andre_000/Drop= box/Consulting/Projects/RedMeat/MLA_Beef_Measles-C_bovis/literature/VetPara= _McFadden_2011.pdf" private)
=C2=A0 = byte-code(" \306 \211 \203%

Looks like something is still not quite right with the ":&q= uot; in the pathname.

=E2=80=8BCheers,

Andr= eas=E2=80=8B

On 24 De= cember 2015 at 12:03, John Kitchin <jkitchin@andrew.cmu.edu><= /span> wrote:
I tested p= art of this on Windows in a git bash shell:

$ p= dftotext -v
pdftotext version 0.14.5
Copyright 2005-201= 0 The Poppler Developers - http://poppler.freedesktop.org
Copyright 1996-20= 04 Glyph & Cog, LLC

and then this works:=
$ pdftotext.exe kitchin-2015-examp.pdf - | grep DOI
ACS Catal., Just Accepted Manuscript =E2=80=A2 DOI: 10.1021/acscatal.5b0= 0538 =E2=80=A2 Publicati
on Date (Web): 11 May 2015
rea= ders and citable by the Digital Object Identifier (DOI=C2=AE). =E2=80=9CJus= t Accepted=E2=80=9D is
an optional service offered
shar= ing site which assigned the data set a DOI. 19 An alternative data reposito= r
y could be an
institutional data repository which als= o provides a DOI for citing. It remains t
o be seen if
= stores that provide a citable DOI for the data set. The point is that this = appro
ach is very

However, I see t= hat in emacs, it appears another pdftotext is getting used, which does not = work.
~/Desktop $ pdftotext -v
pdftotext version 2= .03
Copyright 1996-2003 Glyph & Cog, LLC

=
that is the same version that runs in a cmd shell.
The version that seems to work for me is at=C2=A0"C:\Progr= am Files (x86)\Git\bin\pdftotext".

I added a = variable to set the location of this program, and then rely on the executab= le path. It was a little tricky to set this right, note the escaped quotes.=

#+BEGIN_SRC emacs-lisp
(setq pdfto= text-executable "\"C:/Program Files (x86)/Git/bin/pdftotext\"= ;")
#+END_SRC


= It turned out there was another issue with the uri in the drag-n-drop needi= ng to be unescaped on windows because of the : in the path, which is also d= one now.=C2=A0

I pushed these out. hopefully that = makes some progress for you! or at least gives some hints on where to look = for the problem.

Merry Xmas!

John

-----------------------------------
Professor John = Kitchin=C2=A0
Doherty Hall A207F
Department of Chemical EngineeringCarnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
<= div dir=3D"ltr">@johnkitchin
http://kitchingroup.cheme.cmu.edu


On Wed, Dec 23, 2015 at 6:56 PM, Andreas Kie= rmeier <andreas.kiermeier@gmail.com> wrote:
Hi John,
similar doi problem here.<= /div>
= My configuration is:
  • Windows 10
  • GNU Emacs 24.5.1 (i686-pc-mingw32) of 2015-04-11 o= n LEG570
  • Miktex (up-to-date) with pdftotext v0.32..0
  • org-ref v 0.5.0 (from melpa)=
Running p= dftotext from the command line works and produces a text file with doi info= .
Let me know = what I can do to help to test things.
Thanks.
Andreas
PS: Thank you for org-ref ... an awesom= e Xmas present!


On 24 Decem= ber 2015 at 08:00, John Kitchin <jkitchin@andrew.cmu.edu> wrote:
Thanks! Do yo= u know if you have pdftotext working on your machine? The pdf drag-n-drop w= orks by converting the pdf to text, and than matching a pattern to find a d= oi. If none is found, you get the message you noted. The url dnd works simi= larly, but there are a bunch of recipes for what to match depending on the = base of the url.

I did that on a Mac, and I haven't = tested it on a windows or Linux machine.=C2=A0

John

-----------------------------------
Professor John Kitchin= =C2=A0
Doherty Hall A207F
Department of Chemical Engineering
Carne= gie Mellon University
Pittsburgh, PA 15213
412-268-7803

On Wed, Dec 23, 2015 at 4:22 PM, marvin doyl= ey <marvinpas@gmail.com> wrote:
Hi John,

I am playing wi= th org-ref, =C2=A0the melpa version.

Everything works fine except, o= ne thing.=C2=A0 When I drag a pdf to an empty bibtex file it doesn=E2=80=99= t extract the doi ( no doi found in the=C2=A0file:///). I tried it p= df you used =C2=A0in your video (Examples of Effective Data Sharing in Scie= ntific Publishing), but I got the same error. Dragging the url to the bibte= x file also doesn=E2=80=99t works for me.

cheers,
M

PS by the way, your video was excellent :)




--001a11390e2e1f0bef05279ea0ee-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: Problem with org-ref Date: Thu, 24 Dec 2015 09:15:25 -0500 Message-ID: References: <9B7FD49A-1A5F-42D3-9D9F-72BB151AF28C@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1145b0325200ce0527a57823 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55500) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aC6fv-0005Qs-F0 for emacs-orgmode@gnu.org; Thu, 24 Dec 2015 09:15:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aC6fu-0003o7-4V for emacs-orgmode@gnu.org; Thu, 24 Dec 2015 09:15:27 -0500 Received: from mail-wm0-x22a.google.com ([2a00:1450:400c:c09::22a]:35080) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aC6ft-0003o3-TW for emacs-orgmode@gnu.org; Thu, 24 Dec 2015 09:15:26 -0500 Received: by mail-wm0-x22a.google.com with SMTP id l126so183308099wml.0 for ; Thu, 24 Dec 2015 06:15:25 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Andreas Kiermeier Cc: "emacs-orgmode@gnu.org" --001a1145b0325200ce0527a57823 Content-Type: text/plain; charset=UTF-8 On Thu, Dec 24, 2015 at 1:04 AM, Andreas Kiermeier < andreas.kiermeier@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 variable set to? The default value is nil which would cause that error. John ----------------------------------- 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 --001a1145b0325200ce0527a57823 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

= On Thu, Dec 24, 2015 at 1:04 AM, Andreas Kiermeier <andreas.kier= meier@gmail.com> wrote:
org-ref-open-bibt= ex-notes()

That looks like a different error that occ= urs in =C2=A0org-ref-open-bibtex-notes(). Up to that point everything looks norm= al.

What do you have your=C2=A0org-ref-bibliography-notes variable set= to? The default value is nil which would cause that error.



John

-----------------------------------
Professor John Kitchin= =C2=A0
Doherty Hall A207F
Department of Chemical Engineering
Carne= gie Mellon University
Pittsburgh, PA 15213
412-268-7803
--001a1145b0325200ce0527a57823-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Kiermeier Subject: Re: Problem with org-ref Date: Fri, 25 Dec 2015 11:47:04 +1030 Message-ID: References: <9B7FD49A-1A5F-42D3-9D9F-72BB151AF28C@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1136f752ed23fe0527aeb889 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57822) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCH0s-0004sO-8f for emacs-orgmode@gnu.org; Thu, 24 Dec 2015 20:17:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aCH0q-00081E-RL for emacs-orgmode@gnu.org; Thu, 24 Dec 2015 20:17:46 -0500 Received: from mail-qg0-x22b.google.com ([2607:f8b0:400d:c04::22b]:33110) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCH0q-000814-LW for emacs-orgmode@gnu.org; Thu, 24 Dec 2015 20:17:44 -0500 Received: by mail-qg0-x22b.google.com with SMTP id k90so181870734qge.0 for ; Thu, 24 Dec 2015 17:17:44 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: John Kitchin Cc: "emacs-orgmode@gnu.org" --001a1136f752ed23fe0527aeb889 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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=E2=80=8B On 25 December 2015 at 00:45, John Kitchin wrote: > > On Thu, Dec 24, 2015 at 1:04 AM, Andreas Kiermeier < > andreas.kiermeier@gmail.com> wrote: > >> org-ref-open-bibtex-notes() > > > That looks like a different error that occurs in org-ref-open-bibtex-not= es(). > Up to that point everything looks normal. > > What do you have your org-ref-bibliography-notes variable set to? The > default value is nil which would cause that error. > > > > John > > ----------------------------------- > 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 > > --001a1136f752ed23fe0527aeb889 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
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"
=C2=A0 =C2=A0 =C2=A0 org-ref-default-bibliog= raphy '("~/../Dropbox/_biblio/refs.bib"))

So, non-nil.

Andreas=E2=80=8B
On 25 December 2015 at 0= 0:45, John Kitchin <jkitchin@andrew.cmu.edu> wrote:

On Thu, Dec 24, 2015 at 1:04 AM, Andreas Ki= ermeier <andreas.kiermeier@gmail.com> wrote:
org-ref-open-bibtex-notes()

That looks= like a different error that occurs in =C2=A0org-ref-open-bibtex-notes(). Up to = that point everything looks normal.
=
<= /span>
What do you have your=C2=A0org-ref= -bibliography-notes variable set to? The default value is nil which would c= ause that error.



John

-----------------------------------
Professor John = Kitchin=C2=A0
Doherty Hall A207F
Department of Chemical EngineeringCarnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
<= div dir=3D"ltr">@johnkitchin
http://kitchingroup.cheme.cmu.edu


--001a1136f752ed23fe0527aeb889-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: Problem with org-ref Date: Thu, 24 Dec 2015 21:47:00 -0500 Message-ID: References: <9B7FD49A-1A5F-42D3-9D9F-72BB151AF28C@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42070) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCIPL-0006BA-4i for emacs-orgmode@gnu.org; Thu, 24 Dec 2015 21:47:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aCIPH-0002xZ-O2 for emacs-orgmode@gnu.org; Thu, 24 Dec 2015 21:47:07 -0500 Received: from mail-qg0-x231.google.com ([2607:f8b0:400d:c04::231]:36317) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCIPH-0002xV-Jz for emacs-orgmode@gnu.org; Thu, 24 Dec 2015 21:47:03 -0500 Received: by mail-qg0-x231.google.com with SMTP id e32so14169066qgf.3 for ; Thu, 24 Dec 2015 18:47:03 -0800 (PST) In-reply-to: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Andreas Kiermeier Cc: "emacs-orgmode@gnu.org" 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-notes) return true? or alternatively does (find-file org-ref-bibliography-notes) actually open a writable file? I would think this is what you want (unless you have some unusual setup and permissions): (setq org-ref-bibliography-notes "~/Dropbox/_biblio/org-ref/bibnotes.org" org-ref-default-bibliography '("~/Dropbox/_biblio/refs.bib")) i.e. no .. in the path. Andreas Kiermeier writes: > 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: > >> >> On Thu, Dec 24, 2015 at 1:04 AM, Andreas Kiermeier < >> andreas.kiermeier@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 variable set to? The >> default value is nil which would cause that error. >> >> >> >> John >> >> ----------------------------------- >> 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 >> >> -- 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Kiermeier Subject: Re: Problem with org-ref Date: Fri, 25 Dec 2015 13:46:14 +1030 Message-ID: References: <9B7FD49A-1A5F-42D3-9D9F-72BB151AF28C@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c124b020e03f0527b06387 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48733) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCIsC-0001nt-OR for emacs-orgmode@gnu.org; Thu, 24 Dec 2015 22:16:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aCIsB-0001x8-1l for emacs-orgmode@gnu.org; Thu, 24 Dec 2015 22:16:56 -0500 Received: from mail-qg0-x22d.google.com ([2607:f8b0:400d:c04::22d]:34635) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCIsA-0001x4-Sg for emacs-orgmode@gnu.org; Thu, 24 Dec 2015 22:16:54 -0500 Received: by mail-qg0-x22d.google.com with SMTP id 6so28356763qgy.1 for ; Thu, 24 Dec 2015 19:16:54 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: John Kitchin Cc: "emacs-orgmode@gnu.org" --001a11c124b020e03f0527b06387 Content-Type: text/plain; charset=UTF-8 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/andre_000/Dropbox/_biblio/org-ref/bibnotes.org" org-ref-default-bibliography '("C:/Users/andre_000/Dropbox/_biblio/refs.bib")) results in the same error. After dropping a PDF file into the .bib file I end up with the following additional entry (for example) in the bibnotes.org file. I thought I'd include it just to ensure that nothing gets chopped of - this entry correctly reflect the PDF. ** TODO 2007 - Taenia Saginata in Europe :PROPERTIES: :Custom_ID: dorny_2007 :AUTHOR: Dorny \& Praet :JOURNAL: Veterinary Parasitology :YEAR: 2007 :VOLUME: 149 :PAGES: 22-24 :DOI: 10.1016/j.vetpar.2007.07.004 :URL: http://dx.doi.org/10.1016/j.vetpar.2007.07.004 :END: Does the notes file need a specific set up in terms of headers etc? -- Dr Andreas Kiermeier | Director Statistical Process Improvement Consulting and Training Pty Ltd Mbl: +61 (4)23 028 565 | Email: andreas.kiermeier@gmail.com Australia On 25 December 2015 at 13:17, John Kitchin wrote: > 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-notes) return true? > > or alternatively does (find-file org-ref-bibliography-notes) actually > open a writable file? > > I would think this is what you want (unless you have some unusual setup > and permissions): > > (setq org-ref-bibliography-notes "~/Dropbox/_biblio/org-ref/bibnotes.org" > org-ref-default-bibliography '("~/Dropbox/_biblio/refs.bib")) > > i.e. no .. in the path. > > Andreas Kiermeier writes: > > > 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: > > > >> > >> On Thu, Dec 24, 2015 at 1:04 AM, Andreas Kiermeier < > >> andreas.kiermeier@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 variable set to? The > >> default value is nil which would cause that error. > >> > >> > >> > >> John > >> > >> ----------------------------------- > >> 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 > >> > >> > > -- > 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 > --001a11c124b020e03f0527b06387 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I've set the HOME environment varia= ble to "C:/Users/andre_000/Documents" and hence need the .. to ge= t into the Dropbox folder.

Executing=C2=A0(find-file org-ref-bibliography-notes) does find and open the co= rrect notes file.

Using an absolute path, as in:

<= /span>
Afte= r dropping a PDF file into the .bib file I end up with the following additi= onal entry (for example) in the bibnotes.or= g file. I thought I'd include it just to ensure that nothing gets c= hopped of - this entry correctly reflect the PDF.

** TODO 2007 - Taenia Saginata in Europe
=C2=A0:PROPERTIES:
=C2=A0 :Custom_ID: dorny_2007
=C2=A0 :AUTHOR:= Dorny \& Praet
=C2=A0 :JOURNAL: Veterinary Parasitology
= =C2=A0 :YEAR: 2007
=C2=A0 :VOLUME: 149
=C2=A0 :PAGES: 22-24
=C2=A0 :DOI: 10.1016/j.= vetpar.2007.07.004
=C2=A0:END:

Does th= e notes file need a specific set up in terms of headers etc?


--
Dr Andreas Kiermeier | Director Statistical Process Improvement Consulting and Training Pty Ltd
Mbl: +61 (4)23 028 565 | Email: andreas.kiermeier@gmail.com
Australia


On 25 December 2015 at 13:17, John Kitchin <= span dir=3D"ltr"><jkitchin@andrew.cmu.edu> wrote:
That is an odd looking path. On Mac that would expand to some= thing 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-notes) return true?

or alternatively does (find-file org-ref-bibliography-notes) actually
open a writable file?

I would think this is what you want (unless you have some unusual setup
and permissions):

(setq org-ref-bibliography-notes "~/Dropbox/_biblio/org-ref/bibnotes.org= "
=C2=A0 =C2=A0 =C2=A0 =C2=A0org-ref-default-bibliography '("~/Dropb= ox/_biblio/refs.bib"))

i.e. no .. in the path.

Andreas Kiermeier writes:

> 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"
>=C2=A0 =C2=A0 =C2=A0 =C2=A0org-ref-default-bibliography '("~/.= ./Dropbox/_biblio/refs.bib"))
>
> So, non-nil.
>
> Andreas
>
> On 25 December 2015 at 00:45, John Kitchin <jkitchin@andrew.cmu.edu> wrote:
>
>>
>> On Thu, Dec 24, 2015 at 1:04 AM, Andreas Kiermeier <
>> andreas.kiermeier@g= mail.com> wrote:
>>
>>> org-ref-open-bibtex-notes()
>>
>>
>> That looks like a different error that occurs in=C2=A0 org-ref-ope= n-bibtex-notes().
>> Up to that point everything looks normal.
>>
>> What do you have your org-ref-bibliography-notes variable set to? = The
>> default value is nil which would cause that error.
>>
>>
>>
>> John
>>
>> -----------------------------------
>> 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
>>
>>

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

--001a11c124b020e03f0527b06387-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: Problem with org-ref Date: Fri, 25 Dec 2015 09:07:40 -0500 Message-ID: References: <9B7FD49A-1A5F-42D3-9D9F-72BB151AF28C@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c3babe74a8b50527b97a4f Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58760) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCT1z-0003Z9-3G for emacs-orgmode@gnu.org; Fri, 25 Dec 2015 09:07:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aCT1x-0004Y7-AX for emacs-orgmode@gnu.org; Fri, 25 Dec 2015 09:07:43 -0500 Received: from mail-wm0-x22c.google.com ([2a00:1450:400c:c09::22c]:35280) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCT1x-0004Xv-1B for emacs-orgmode@gnu.org; Fri, 25 Dec 2015 09:07:41 -0500 Received: by mail-wm0-x22c.google.com with SMTP id l126so205599892wml.0 for ; Fri, 25 Dec 2015 06:07:40 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Andreas Kiermeier Cc: "emacs-orgmode@gnu.org" --001a11c3babe74a8b50527b97a4f Content-Type: text/plain; charset=UTF-8 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-fr John ----------------------------------- 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 On Thu, Dec 24, 2015 at 10:16 PM, Andreas Kiermeier < andreas.kiermeier@gmail.com> wrote: > 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/andre_000/Dropbox/_biblio/org-ref/bibnotes.org" > org-ref-default-bibliography > '("C:/Users/andre_000/Dropbox/_biblio/refs.bib")) > > results in the same error. > > After dropping a PDF file into the .bib file I end up with the following > additional entry (for example) in the bibnotes.org file. I thought I'd > include it just to ensure that nothing gets chopped of - this entry > correctly reflect the PDF. > > ** TODO 2007 - Taenia Saginata in Europe > :PROPERTIES: > :Custom_ID: dorny_2007 > :AUTHOR: Dorny \& Praet > :JOURNAL: Veterinary Parasitology > :YEAR: 2007 > :VOLUME: 149 > :PAGES: 22-24 > :DOI: 10.1016/j.vetpar.2007.07.004 > :URL: http://dx.doi.org/10.1016/j.vetpar.2007.07.004 > :END: > > Does the notes file need a specific set up in terms of headers etc? > > > -- > Dr Andreas Kiermeier | Director > Statistical Process Improvement Consulting and Training Pty Ltd > Mbl: +61 (4)23 028 565 | Email: andreas.kiermeier@gmail.com > Australia > > On 25 December 2015 at 13:17, John Kitchin > wrote: > >> 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-notes) return true? >> >> or alternatively does (find-file org-ref-bibliography-notes) actually >> open a writable file? >> >> I would think this is what you want (unless you have some unusual setup >> and permissions): >> >> (setq org-ref-bibliography-notes "~/Dropbox/_biblio/org-ref/bibnotes.org" >> org-ref-default-bibliography '("~/Dropbox/_biblio/refs.bib")) >> >> i.e. no .. in the path. >> >> Andreas Kiermeier writes: >> >> > 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: >> > >> >> >> >> On Thu, Dec 24, 2015 at 1:04 AM, Andreas Kiermeier < >> >> andreas.kiermeier@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 variable set to? The >> >> default value is nil which would cause that error. >> >> >> >> >> >> >> >> John >> >> >> >> ----------------------------------- >> >> 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 >> >> >> >> >> >> -- >> 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 >> > > --001a11c3babe74a8b50527b97a4f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
What about the value of=C2=A0org-ref-pdf-directory. This s= eems 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)
=C2=A0 file= -name-as-directory(nil)
=C2=A0 org-ref-open-bibtex-n= otes()
=C2=A0 doi-utils-insert-bibtex-entry-fr
=

John

------= -----------------------------
Professor John Kitchin=C2=A0
Doherty Ha= ll A207F
Department of Chemical Engineering
Carnegie Mellon Universit= y
Pittsburgh, PA 15213
412-268-7803

On Thu, Dec 24, 2015 at 10:16 PM, Andreas Ki= ermeier <andreas.kiermeier@gmail.com> wrote:
I've s= et the HOME environment variable to "C:/Users/andre_000/Documents"= ; and hence need the .. to get into the Dropbox folder.

Executing=C2=A0(find-file org-ref-bibliography-not= es) does find and open the correct notes file.

Using = an absolute path, as in:

(setq org-ref-bibliograp= hy-notes "C:/Users/andre_000/Dropbox/_biblio/org-ref/bibnotes.org"
=C2=A0 =C2=A0 =C2=A0 org-ref-defa= ult-bibliography '("C:/Users/andre_000/Dropbox/_biblio/refs.bib&qu= ot;))

results in the same error.
<= br>
After dropping a PDF file into the= .bib file I end up with the following additional entry (for example) in th= e bibnotes.org file. = I thought I'd include it just to ensure that nothing gets chopped of - = this entry correctly reflect the PDF.
=
** TODO 2007 - Taenia = Saginata in Europe
=C2=A0= :PROPERTIES:
=C2=A0 :Cust= om_ID: dorny_2007
=C2=A0 = :AUTHOR: Dorny \& Praet
=C2=A0 :JOURNAL: Veterinary Parasitology
=C2=A0 :YEAR: 2007
=C2=A0 :VOLUME: 149
=C2=A0 :PAGES: 22-24
=C2=A0 :DOI: 10.1016/j.vetpar.2007.07.004
=C2=A0:END:<= /span>

Does the notes file need a specific set up in terms of hea= ders etc?


--
Dr= Andreas Kiermeier | Director
Statistical Process Improvement Consulting and Training Pty Ltd
Mbl: +61 (4)23 028 565 | Email: andreas.kiermeier@gmail.com
Australia


On 25 December 2015 at 13:17, John Kitchin <= span dir=3D"ltr"><jkitchin@andrew.cmu.edu> wrote:
That is an odd looking path. On Mac that would expand to some= thing 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-notes) return true?

or alternatively does (find-file org-ref-bibliography-notes) actually
open a writable file?

I would think this is what you want (unless you have some unusual setup
and permissions):

(setq org-ref-bibliography-notes "~/Dropbox/_biblio/org-ref/bibnotes.org= "
=C2=A0 =C2=A0 =C2=A0 =C2=A0org-ref-default-bibliography '("~/Dropb= ox/_biblio/refs.bib"))

i.e. no .. in the path.

Andreas Kiermeier writes:

> 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"
>=C2=A0 =C2=A0 =C2=A0 =C2=A0org-ref-default-bibliography '("~/.= ./Dropbox/_biblio/refs.bib"))
>
> So, non-nil.
>
> Andreas
>
> On 25 December 2015 at 00:45, John Kitchin <jkitchin@andrew.cmu.edu> wrote= :
>
>>
>> On Thu, Dec 24, 2015 at 1:04 AM, Andreas Kiermeier <
>> a= ndreas.kiermeier@gmail.com> wrote:
>>
>>> org-ref-open-bibtex-notes()
>>
>>
>> That looks like a different error that occurs in=C2=A0 org-ref-ope= n-bibtex-notes().
>> Up to that point everything looks normal.
>>
>> What do you have your org-ref-bibliography-notes variable set to? = The
>> default value is nil which would cause that error.
>>
>>
>>
>> John
>>
>> -----------------------------------
>> 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
>>
>>

--
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-2= 68-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu


--001a11c3babe74a8b50527b97a4f-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Kiermeier Subject: Re: Problem with org-ref Date: Sat, 26 Dec 2015 10:33:08 +1030 Message-ID: References: <9B7FD49A-1A5F-42D3-9D9F-72BB151AF28C@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113a6f605bc1750527c1ce55 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55653) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCcKs-0000WX-FQ for emacs-orgmode@gnu.org; Fri, 25 Dec 2015 19:03:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aCcKq-0005nT-HT for emacs-orgmode@gnu.org; Fri, 25 Dec 2015 19:03:50 -0500 Received: from mail-qg0-x234.google.com ([2607:f8b0:400d:c04::234]:33567) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCcKq-0005nN-BN for emacs-orgmode@gnu.org; Fri, 25 Dec 2015 19:03:48 -0500 Received: by mail-qg0-x234.google.com with SMTP id k90so192997076qge.0 for ; Fri, 25 Dec 2015 16:03:48 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: John Kitchin Cc: "emacs-orgmode@gnu.org" --001a113a6f605bc1750527c1ce55 Content-Type: text/plain; charset=UTF-8 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-download) if I was prompted for the location of the pdf. That way I could either (a) provide a link to the pdf wherever I've stored it, or (b) not provide a link (yet). Just a thought. Thanks again for all your help. Andreas On 26 December 2015 at 00:37, John Kitchin wrote: > 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-fr > > John > > ----------------------------------- > 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 > > > On Thu, Dec 24, 2015 at 10:16 PM, Andreas Kiermeier < > andreas.kiermeier@gmail.com> wrote: > >> 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/andre_000/Dropbox/_biblio/org-ref/bibnotes.org" >> org-ref-default-bibliography >> '("C:/Users/andre_000/Dropbox/_biblio/refs.bib")) >> >> results in the same error. >> >> After dropping a PDF file into the .bib file I end up with the following >> additional entry (for example) in the bibnotes.org file. I thought I'd >> include it just to ensure that nothing gets chopped of - this entry >> correctly reflect the PDF. >> >> ** TODO 2007 - Taenia Saginata in Europe >> :PROPERTIES: >> :Custom_ID: dorny_2007 >> :AUTHOR: Dorny \& Praet >> :JOURNAL: Veterinary Parasitology >> :YEAR: 2007 >> :VOLUME: 149 >> :PAGES: 22-24 >> :DOI: 10.1016/j.vetpar.2007.07.004 >> :URL: http://dx.doi.org/10.1016/j.vetpar.2007.07.004 >> :END: >> >> Does the notes file need a specific set up in terms of headers etc? >> >> >> -- >> Dr Andreas Kiermeier | Director >> Statistical Process Improvement Consulting and Training Pty Ltd >> Mbl: +61 (4)23 028 565 | Email: andreas.kiermeier@gmail.com >> Australia >> >> On 25 December 2015 at 13:17, John Kitchin >> wrote: >> >>> 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-notes) return true? >>> >>> or alternatively does (find-file org-ref-bibliography-notes) actually >>> open a writable file? >>> >>> I would think this is what you want (unless you have some unusual setup >>> and permissions): >>> >>> (setq org-ref-bibliography-notes "~/Dropbox/_biblio/org-ref/bibnotes.org >>> " >>> org-ref-default-bibliography '("~/Dropbox/_biblio/refs.bib")) >>> >>> i.e. no .. in the path. >>> >>> Andreas Kiermeier writes: >>> >>> > 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: >>> > >>> >> >>> >> On Thu, Dec 24, 2015 at 1:04 AM, Andreas Kiermeier < >>> >> andreas.kiermeier@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 variable set to? The >>> >> default value is nil which would cause that error. >>> >> >>> >> >>> >> >>> >> John >>> >> >>> >> ----------------------------------- >>> >> 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 >>> >> >>> >> >>> >>> -- >>> 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 >>> >> >> > --001a113a6f605bc1750527c1ce55 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thanks John.
Yes, that was the case, because I had no intenti= on of downloading the pdfs. So I had set

=
(setq doi-utils-download-pd= f nil)

and left=C2=A0org-ref-pdf-directory nil. Se= tting it to a valid directory gets rid of the error. Thanks.

=
I would find it useful (given that I've disabled auto-downlo= ad) if I was prompted for the location of the pdf. That way I could either = (a) provide a link to the pdf wherever I've stored it, or (b) not provi= de a link (yet). Just a thought.

Thanks again for = all your help.

Andreas

<= div class=3D"gmail_extra">
On 26 December 2015 at= 00:37, John Kitchin <jkitchin@andrew.cmu.edu> wrote:<= br>
What about the value of= =C2=A0org-ref-pdf-directory. This seems to be where your error is coming fr= om. Your debugger info suggests it is set to nil.

Debugger ent= ered--Lisp error: (wrong-type-argument stringp nil)
=C2=A0 file-name-as-dire= ctory(nil)
=C2=A0 org-ref-open-bibtex-notes()
=C2=A0 doi-utils-insert-bibtex-= entry-fr

John

-= ----------------------------------
Professor John Kitchin=C2=A0
Doher= ty Hall A207F
Department of Chemical Engineering
Carnegie Mellon Univ= ersity
Pittsburgh, PA 15213
412-268-7803

On Thu, Dec 24= , 2015 at 10:16 PM, Andreas Kiermeier <andreas.kiermeier@gmail.c= om> wrote:
I= 9;ve set the HOME environment variable to "C:/Users/andre_000/Document= s" and hence need the .. to get into the Dropbox folder.

Exec= uting=C2=A0(f= ind-file org-ref-bibliography-notes) does find and open the correct notes f= ile.
<= br>
Using an absolute pat= h, as in:

(setq org-ref-bibliography-notes &qu= ot;C:/Users/andre_000/Dropbox/_biblio/org-ref/bibnotes.org"
=C2=A0 =C2=A0 =C2=A0 org-ref-default-bibliography '("C:/User= s/andre_000/Dropbox/_biblio/refs.bib"))

results in the same error.=

After dropping a PDF file into the .bib file I end up with the followi= ng additional entry (for example) in the bibnotes.org file. I thought I'd include it just to= ensure that nothing gets chopped of - this entry correctly reflect the PDF= .

** TODO 2007 - Taenia Saginata in Europe
= =C2=A0:PROPERTIES:
=C2=A0 :Custom_ID: dorny_2007
<= span style=3D"font-size:12.8px">=C2=A0 :AUTHOR: Dorny \& Praet
=C2=A0 :JOURNAL: Veterinary Paras= itology
=C2=A0 :YEAR: 200= 7
=C2=A0 :VOLUME: 149
=C2=A0 :PAGES: 22-24<= /div>
=C2=A0 :DOI: 10.1016/j.vetpar.20= 07.07.004
=C2=A0 :URL: = http://dx.doi.org/10.1016/j.vetpar.2007.07.004
=C2=A0:END:

Does the notes file = need a specific set up in terms of headers etc?


--
Dr Andreas Kiermeier |= Director
Statistical Process Improvement Consulting and Training Pty Ltd
Mbl: +61 (4)23 028 565 | Email: andreas.kiermeier@gmail.com
Australia


On 25 December 2015 at 13:17, John Kitchin <= span dir=3D"ltr"><jkitchin@andrew.cmu.edu> wrote:
That is an odd looking path. On Mac that would expand to some= thing 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-notes) return true?

or alternatively does (find-file org-ref-bibliography-notes) actually
open a writable file?

I would think this is what you want (unless you have some unusual setup
and permissions):

(setq org-ref-bibliography-notes "~/Dropbox/_biblio/org-ref/bibnotes.org= "
=C2=A0 =C2=A0 =C2=A0 =C2=A0org-ref-default-bibliography '("~/Dropb= ox/_biblio/refs.bib"))

i.e. no .. in the path.

Andreas Kiermeier writes:

> 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"
>=C2=A0 =C2=A0 =C2=A0 =C2=A0org-ref-default-bibliography '("~/.= ./Dropbox/_biblio/refs.bib"))
>
> So, non-nil.
>
> Andreas
>
> On 25 December 2015 at 00:45, John Kitchin <jkitchin@andrew.cmu.edu> wrote= :
>
>>
>> On Thu, Dec 24, 2015 at 1:04 AM, Andreas Kiermeier <
>> a= ndreas.kiermeier@gmail.com> wrote:
>>
>>> org-ref-open-bibtex-notes()
>>
>>
>> That looks like a different error that occurs in=C2=A0 org-ref-ope= n-bibtex-notes().
>> Up to that point everything looks normal.
>>
>> What do you have your org-ref-bibliography-notes variable set to? = The
>> default value is nil which would cause that error.
>>
>>
>>
>> John
>>
>> -----------------------------------
>> 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
>>
>>

--
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-2= 68-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu



--001a113a6f605bc1750527c1ce55-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: Problem with org-ref Date: Fri, 25 Dec 2015 20:36:33 -0500 Message-ID: References: <9B7FD49A-1A5F-42D3-9D9F-72BB151AF28C@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7bae465c1f8a860527c31a0f Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41444) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCdmf-0003vd-6F for emacs-orgmode@gnu.org; Fri, 25 Dec 2015 20:36:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aCdmd-00018N-61 for emacs-orgmode@gnu.org; Fri, 25 Dec 2015 20:36:37 -0500 Received: from mail-wm0-x231.google.com ([2a00:1450:400c:c09::231]:34248) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCdmc-00018A-RS for emacs-orgmode@gnu.org; Fri, 25 Dec 2015 20:36:35 -0500 Received: by mail-wm0-x231.google.com with SMTP id l126so211616635wml.1 for ; Fri, 25 Dec 2015 17:36:34 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Andreas Kiermeier Cc: "emacs-orgmode@gnu.org" --047d7bae465c1f8a860527c31a0f Content-Type: text/plain; charset=UTF-8 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 A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu On Fri, Dec 25, 2015 at 7:03 PM, Andreas Kiermeier < andreas.kiermeier@gmail.com> wrote: > 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-download) if I was > prompted for the location of the pdf. That way I could either (a) provide a > link to the pdf wherever I've stored it, or (b) not provide a link (yet). > Just a thought. > > Thanks again for all your help. > > Andreas > > On 26 December 2015 at 00:37, John Kitchin > wrote: > >> 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-fr >> >> John >> >> ----------------------------------- >> 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 >> >> >> On Thu, Dec 24, 2015 at 10:16 PM, Andreas Kiermeier < >> andreas.kiermeier@gmail.com> wrote: >> >>> 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/andre_000/Dropbox/_biblio/org-ref/bibnotes.org" >>> org-ref-default-bibliography >>> '("C:/Users/andre_000/Dropbox/_biblio/refs.bib")) >>> >>> results in the same error. >>> >>> After dropping a PDF file into the .bib file I end up with the following >>> additional entry (for example) in the bibnotes.org file. I thought I'd >>> include it just to ensure that nothing gets chopped of - this entry >>> correctly reflect the PDF. >>> >>> ** TODO 2007 - Taenia Saginata in Europe >>> :PROPERTIES: >>> :Custom_ID: dorny_2007 >>> :AUTHOR: Dorny \& Praet >>> :JOURNAL: Veterinary Parasitology >>> :YEAR: 2007 >>> :VOLUME: 149 >>> :PAGES: 22-24 >>> :DOI: 10.1016/j.vetpar.2007.07.004 >>> :URL: http://dx.doi.org/10.1016/j.vetpar.2007.07.004 >>> :END: >>> >>> Does the notes file need a specific set up in terms of headers etc? >>> >>> >>> -- >>> Dr Andreas Kiermeier | Director >>> Statistical Process Improvement Consulting and Training Pty Ltd >>> Mbl: +61 (4)23 028 565 | Email: andreas.kiermeier@gmail.com >>> Australia >>> >>> On 25 December 2015 at 13:17, John Kitchin >>> wrote: >>> >>>> 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-notes) return true? >>>> >>>> or alternatively does (find-file org-ref-bibliography-notes) actually >>>> open a writable file? >>>> >>>> I would think this is what you want (unless you have some unusual setup >>>> and permissions): >>>> >>>> (setq org-ref-bibliography-notes "~/Dropbox/_biblio/org-ref/ >>>> bibnotes.org" >>>> org-ref-default-bibliography '("~/Dropbox/_biblio/refs.bib")) >>>> >>>> i.e. no .. in the path. >>>> >>>> Andreas Kiermeier writes: >>>> >>>> > 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: >>>> > >>>> >> >>>> >> On Thu, Dec 24, 2015 at 1:04 AM, Andreas Kiermeier < >>>> >> andreas.kiermeier@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 variable set to? The >>>> >> default value is nil which would cause that error. >>>> >> >>>> >> >>>> >> >>>> >> John >>>> >> >>>> >> ----------------------------------- >>>> >> 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 >>>> >> >>>> >> >>>> >>>> -- >>>> 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 >>>> >>> >>> >> > --047d7bae465c1f8a860527c31a0f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
That sounds ok. I pushed a change that sort of does what y= ou ask for. If the "calculated" pdf doesn't exist then you sh= ould get prompted for a pdf, and pressing enter for the default (no pdf) sh= ould not add a pdf link.=C2=A0

John

-----------------------------------
Professor John Kit= chin=C2=A0
Doherty Hall A207F
Department of Chemical Engineering
C= arnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu

=

On Fri, Dec 25, 2015 at 7:03 PM, Andreas Kie= rmeier <andreas.kiermeier@gmail.com> wrote:
Thanks John= .

Yes, that was the ca= se, because I had no intention of downloading the pdfs. So I had set
<= div class=3D"gmail_default" style=3D"font-family:arial,helvetica,sans-serif= ;font-size:small">
(setq doi-utils-download-pdf nil)

and left=C2=A0o= rg-ref-pdf-directory nil. Setting it to a valid directory gets rid of the e= rror. Thanks.

I would find it useful (given that I= 've disabled auto-download) if I was prompted for the location of the p= df. That way I could either (a) provide a link to the pdf wherever I've= stored it, or (b) not provide a link (yet). Just a thought.

=
Thanks again for all your help.

Andreas

=
On 26 December 2015 at 00:37, John Kitchin <jkitchi= n@andrew.cmu.edu> wrote:
What about the value of=C2=A0org-ref-pdf-directory. This see= ms to be where your error is coming from. Your debugger info suggests it is= set to nil.

Debugger entered--Lisp error: (wrong-type-argumen= t stringp nil)
=C2=A0 file-name-as-directory(nil)
=C2=A0 org-ref-open-bibtex-= notes()
=C2=A0 doi-utils-insert-bibtex-entry-fr

John

-----------------------------------
Professor= John Kitchin=C2=A0
Doherty Hall A207F
Department of Chemical Enginee= ring
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803

On Thu, Dec 24, 2015 at 10:= 16 PM, Andreas Kiermeier <andreas.kiermeier@gmail.com> wrote:
I've set th= e HOME environment variable to "C:/Users/andre_000/Documents" and= hence need the .. to get into the Dropbox folder.

Executing=C2=A0= (find-file or= g-ref-bibliography-notes) does find and open the correct notes file.=

<= /div>
Using an absolute path, as in:

(setq org-ref-bibliography-notes "C:/Users= /andre_000/Dropbox/_biblio/org-ref/bibnotes.org"
=C2= =A0 =C2=A0 =C2=A0 org-ref-default-bibliography '("C:/Users/andre_0= 00/Dropbox/_biblio/refs.bib"))
results in the same error.

Afte= r dropping a PDF file into the .bib file I end up with the following additi= onal entry (for example) in the bibnotes.org file. I thought I'd include it just to ensure t= hat nothing gets chopped of - this entry correctly reflect the PDF.

** TODO 2007 - Taenia Saginata in Europe
=C2=A0:PROPERTIES:
=C2=A0 :Custom_ID: dorny_2007
=C2=A0 :AUTHOR: Dorny \& Praet
= =C2=A0 :JOURNAL: Veterinary Parasitology
=C2=A0 :YEAR: 2007<= /div>
=C2=A0 :VOLUME: 149
=
=C2=A0 :PAGES: 22-24
=C2=A0 :DOI: 10.1016/j.vetpar.2007.07.004=
=C2=A0:END:

Does the notes file need a sp= ecific set up in terms of headers etc?
=

--
Dr Andreas Kiermeier | Directo= r
Statistical Process Improvement Consulting and Training Pty Ltd
Mbl: +61 (4)23 028 565 | Email: andreas.kiermeier@gmail.com
Australia


On 25 December 2015 at 13:17, John Kitchin <= span dir=3D"ltr"><jkitchin@andrew.cmu.edu> wrote:
That is an odd looking path. On Mac that would expand to some= thing 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-notes) return true?

or alternatively does (find-file org-ref-bibliography-notes) actually
open a writable file?

I would think this is what you want (unless you have some unusual setup
and permissions):

(setq org-ref-bibliography-notes "~/Dropbox/_biblio/org-ref/bibnotes.org= "
=C2=A0 =C2=A0 =C2=A0 =C2=A0org-ref-default-bibliography '("~/Dropb= ox/_biblio/refs.bib"))

i.e. no .. in the path.

Andreas Kiermeier writes:

> 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"
>=C2=A0 =C2=A0 =C2=A0 =C2=A0org-ref-default-bibliography '("~/.= ./Dropbox/_biblio/refs.bib"))
>
> So, non-nil.
>
> Andreas
>
> On 25 December 2015 at 00:45, John Kitchin <jkitchin@andrew.cmu.edu> wrote= :
>
>>
>> On Thu, Dec 24, 2015 at 1:04 AM, Andreas Kiermeier <
>> a= ndreas.kiermeier@gmail.com> wrote:
>>
>>> org-ref-open-bibtex-notes()
>>
>>
>> That looks like a different error that occurs in=C2=A0 org-ref-ope= n-bibtex-notes().
>> Up to that point everything looks normal.
>>
>> What do you have your org-ref-bibliography-notes variable set to? = The
>> default value is nil which would cause that error.
>>
>>
>>
>> John
>>
>> -----------------------------------
>> 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
>>
>>

--
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-2= 68-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu




--047d7bae465c1f8a860527c31a0f-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Kiermeier Subject: Re: Problem with org-ref Date: Sat, 26 Dec 2015 15:22:05 +1030 Message-ID: References: <9B7FD49A-1A5F-42D3-9D9F-72BB151AF28C@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113b39eabda80f0527c5d72e Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33264) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCgqW-0001ty-2n for emacs-orgmode@gnu.org; Fri, 25 Dec 2015 23:52:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aCgqU-0005ZD-5R for emacs-orgmode@gnu.org; Fri, 25 Dec 2015 23:52:48 -0500 Received: from mail-qg0-x232.google.com ([2607:f8b0:400d:c04::232]:34565) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCgqT-0005Z5-VZ for emacs-orgmode@gnu.org; Fri, 25 Dec 2015 23:52:46 -0500 Received: by mail-qg0-x232.google.com with SMTP id 6so40584045qgy.1 for ; Fri, 25 Dec 2015 20:52:45 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: John Kitchin Cc: "emacs-orgmode@gnu.org" --001a113b39eabda80f0527c5d72e Content-Type: text/plain; charset=UTF-8 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 link. > > John > > ----------------------------------- > 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 > > > On Fri, Dec 25, 2015 at 7:03 PM, Andreas Kiermeier < > andreas.kiermeier@gmail.com> wrote: > >> 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-download) if I was >> prompted for the location of the pdf. That way I could either (a) provide a >> link to the pdf wherever I've stored it, or (b) not provide a link (yet). >> Just a thought. >> >> Thanks again for all your help. >> >> Andreas >> >> On 26 December 2015 at 00:37, John Kitchin >> wrote: >> >>> 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-fr >>> >>> John >>> >>> ----------------------------------- >>> 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 >>> >>> >>> On Thu, Dec 24, 2015 at 10:16 PM, Andreas Kiermeier < >>> andreas.kiermeier@gmail.com> wrote: >>> >>>> 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/andre_000/Dropbox/_biblio/org-ref/bibnotes.org" >>>> org-ref-default-bibliography >>>> '("C:/Users/andre_000/Dropbox/_biblio/refs.bib")) >>>> >>>> results in the same error. >>>> >>>> After dropping a PDF file into the .bib file I end up with the >>>> following additional entry (for example) in the bibnotes.org file. I >>>> thought I'd include it just to ensure that nothing gets chopped of - this >>>> entry correctly reflect the PDF. >>>> >>>> ** TODO 2007 - Taenia Saginata in Europe >>>> :PROPERTIES: >>>> :Custom_ID: dorny_2007 >>>> :AUTHOR: Dorny \& Praet >>>> :JOURNAL: Veterinary Parasitology >>>> :YEAR: 2007 >>>> :VOLUME: 149 >>>> :PAGES: 22-24 >>>> :DOI: 10.1016/j.vetpar.2007.07.004 >>>> :URL: http://dx.doi.org/10.1016/j.vetpar.2007.07.004 >>>> :END: >>>> >>>> Does the notes file need a specific set up in terms of headers etc? >>>> >>>> >>>> -- >>>> Dr Andreas Kiermeier | Director >>>> Statistical Process Improvement Consulting and Training Pty Ltd >>>> Mbl: +61 (4)23 028 565 | Email: andreas.kiermeier@gmail.com >>>> Australia >>>> >>>> On 25 December 2015 at 13:17, John Kitchin >>>> wrote: >>>> >>>>> 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-notes) return true? >>>>> >>>>> or alternatively does (find-file org-ref-bibliography-notes) actually >>>>> open a writable file? >>>>> >>>>> I would think this is what you want (unless you have some unusual setup >>>>> and permissions): >>>>> >>>>> (setq org-ref-bibliography-notes "~/Dropbox/_biblio/org-ref/ >>>>> bibnotes.org" >>>>> org-ref-default-bibliography '("~/Dropbox/_biblio/refs.bib")) >>>>> >>>>> i.e. no .. in the path. >>>>> >>>>> Andreas Kiermeier writes: >>>>> >>>>> > 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: >>>>> > >>>>> >> >>>>> >> On Thu, Dec 24, 2015 at 1:04 AM, Andreas Kiermeier < >>>>> >> andreas.kiermeier@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 variable set to? >>>>> The >>>>> >> default value is nil which would cause that error. >>>>> >> >>>>> >> >>>>> >> >>>>> >> John >>>>> >> >>>>> >> ----------------------------------- >>>>> >> 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 >>>>> >> >>>>> >> >>>>> >>>>> -- >>>>> 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 >>>>> >>>> >>>> >>> >> > --001a113b39eabda80f0527c5d72e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Magic!
Thanks a= lot, John.

On 2= 6 December 2015 at 12:06, John Kitchin <jkitchin@andrew.cmu.edu&= gt; wrote:
That s= ounds ok. I pushed a change that sort of does what you ask for. If the &quo= t;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= .=C2=A0

John

-------------------------------= ----
Professor John Kitchin=C2=A0
Doherty Hall A207F
Department of= Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213=
412-268-7803

On Fri, Dec 25, 2015 at 7:03 PM, Andreas Kie= rmeier <andreas.kiermeier@gmail.com> wrote:
Thanks John.

Yes, that was t= he case, because I had no intention of downloading the pdfs. So I had set
<= br>
(setq doi-utils-download-pdf nil)

and lef= t=C2=A0org-ref-pdf-directory nil. Setting it to a valid directory gets rid = of the error. Thanks.

I would find it useful (give= n that I've disabled auto-download) if I was prompted for the location = of the pdf. That way I could either (a) provide a link to the pdf wherever = I've stored it, or (b) not provide a link (yet). Just a thought.
<= div>
Thanks again for all your help.

Andreas

=
On 26= December 2015 at 00:37, John Kitchin <jkitchin@andrew.cmu.edu&g= t; wrote:
What ab= out the value of=C2=A0org-ref-pdf-directory. This seems to be where your er= ror is coming from. Your debugger info suggests it is set to nil.

<= /div>
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
=C2=A0 f= ile-name-as-directory(nil)
=C2=A0 org-ref-open-bibtex-notes()
=C2=A0 doi-util= s-insert-bibtex-entry-fr
=
John
=
-----------------------------------
Professor John Kitchin=C2=A0
= Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon= University
Pittsburgh, PA 15213
412-268-7803
<= /div>
On Thu, Dec 24, 2015 at 10:= 16 PM, Andreas Kiermeier <andreas.kiermeier@gmail.com> wrote:
I've set th= e HOME environment variable to "C:/Users/andre_000/Documents" and= hence need the .. to get into the Dropbox folder.

Executing=C2=A0= (find-file or= g-ref-bibliography-notes) does find and open the correct notes file.=

<= /div>
Using an absolute path, as in:

(setq org-ref-bibliography-notes "C:/Users= /andre_000/Dropbox/_biblio/org-ref/bibnotes.org"
=C2= =A0 =C2=A0 =C2=A0 org-ref-default-bibliography '("C:/Users/andre_0= 00/Dropbox/_biblio/refs.bib"))
results in the same error.

Afte= r dropping a PDF file into the .bib file I end up with the following additi= onal entry (for example) in the bibnotes.org file. I thought I'd include it just to ensure t= hat nothing gets chopped of - this entry correctly reflect the PDF.

** TODO 2007 - Taenia Saginata in Europe
=C2=A0:PROPERTIES:
=C2=A0 :Custom_ID: dorny_2007
=C2=A0 :AUTHOR: Dorny \& Praet
= =C2=A0 :JOURNAL: Veterinary Parasitology
=C2=A0 :YEAR: 2007<= /div>
=C2=A0 :VOLUME: 149
=
=C2=A0 :PAGES: 22-24
=C2=A0 :DOI: 10.1016/j.vetpar.2007.07.004=
=C2=A0:END:

Does the notes file need a sp= ecific set up in terms of headers etc?
=

--
Dr Andreas Kiermeier | Directo= r
Statistical Process Improvement Consulting and Training Pty Ltd
Mbl: +61 (4)23 028 565 | Email: andreas.kiermeier@gmail.com
Australia


On 25 December 2015 at 13:17, John Kitchin <= span dir=3D"ltr"><jkitchin@andrew.cmu.edu> wrote:
That is an odd looking path. On Mac that would expand to some= thing 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-notes) return true?

or alternatively does (find-file org-ref-bibliography-notes) actually
open a writable file?

I would think this is what you want (unless you have some unusual setup
and permissions):

(setq org-ref-bibliography-notes "~/Dropbox/_biblio/org-ref/bibnotes.org= "
=C2=A0 =C2=A0 =C2=A0 =C2=A0org-ref-default-bibliography '("~/Dropb= ox/_biblio/refs.bib"))

i.e. no .. in the path.

Andreas Kiermeier writes:

> 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"
>=C2=A0 =C2=A0 =C2=A0 =C2=A0org-ref-default-bibliography '("~/.= ./Dropbox/_biblio/refs.bib"))
>
> So, non-nil.
>
> Andreas
>
> On 25 December 2015 at 00:45, John Kitchin <jkitchin@andrew.cmu.edu> wrote= :
>
>>
>> On Thu, Dec 24, 2015 at 1:04 AM, Andreas Kiermeier <
>> a= ndreas.kiermeier@gmail.com> wrote:
>>
>>> org-ref-open-bibtex-notes()
>>
>>
>> That looks like a different error that occurs in=C2=A0 org-ref-ope= n-bibtex-notes().
>> Up to that point everything looks normal.
>>
>> What do you have your org-ref-bibliography-notes variable set to? = The
>> default value is nil which would cause that error.
>>
>>
>>
>> John
>>
>> -----------------------------------
>> 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
>>
>>

--
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-2= 68-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu





--001a113b39eabda80f0527c5d72e-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 2K6JDb2XFV+cIgAA0tVLHw (envelope-from ) for ; Mon, 20 Jul 2020 13:10:21 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id mC1eCb2XFV9CWgAAB5/wlQ (envelope-from ) for ; Mon, 20 Jul 2020 13:10:21 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5597E94093C for ; Mon, 20 Jul 2020 13:10:20 +0000 (UTC) Received: from localhost ([::1]:45926 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jxVYh-0000HH-6a for larch@yhetil.org; Mon, 20 Jul 2020 09:10:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60070) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jxVYJ-0000H6-QU for emacs-orgmode@gnu.org; Mon, 20 Jul 2020 09:09:55 -0400 Received: from merkur.nordakademie.de ([194.94.98.156]:33906) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jxVYH-0000dR-TR for emacs-orgmode@gnu.org; Mon, 20 Jul 2020 09:09:55 -0400 X-ASG-Debug-ID: 1595250574-104018275d6bf6f0001-nRxMB4 Received: from vpn.dmz.nordakademie.de ([192.168.5.10]) by merkur.nordakademie.de with ESMTP id Dx82ZKzuM12bq4SF (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NO) for ; Mon, 20 Jul 2020 15:09:34 +0200 (CEST) X-Barracuda-Envelope-From: brauer@nordakademie.de X-Barracuda-RBL-Trusted-Forwarder: 192.168.5.10 Received: from WS10.nordakademie.intern (192.168.5.10) by WS10.nordakademie.intern (192.168.5.10) with Microsoft SMTP Server (TLS) id 15.0.1320.4; Mon, 20 Jul 2020 15:09:34 +0200 Received: from WS10.nordakademie.intern ([192.168.3.10]) by WS10.nordakademie.intern ([192.168.3.10]) with mapi id 15.00.1320.000; Mon, 20 Jul 2020 15:09:33 +0200 X-Barracuda-RBL-Trusted-Forwarder: 192.168.5.10 From: Johannes Brauer X-Barracuda-RBL-IP: 192.168.3.10 To: "emacs-orgmode@gnu.org" Subject: problem with org-ref Thread-Topic: problem with org-ref X-ASG-Orig-Subj: problem with org-ref Thread-Index: AQHWXpcCkajN79SfHkmjZTBWc5OTMQ== Date: Mon, 20 Jul 2020 13:09:33 +0000 Message-ID: <3028D5C4-A624-4016-8B1B-A04AF2B105CC@nordakademie.de> Accept-Language: de-DE, en-US Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: Apple Mail (2.3608.80.23.2.2) x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [194.94.98.145] Content-Type: text/plain; charset="us-ascii" Content-ID: <9759501D32D035459F21D5756FD08DFB@nordakademie.de> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Barracuda-Connect: UNKNOWN[192.168.5.10] X-Barracuda-Start-Time: 1595250574 X-Barracuda-Encrypted: ECDHE-RSA-AES256-SHA384 X-Barracuda-URL: https://merkur.nordakademie.de:443/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at nordakademie.de X-Barracuda-Scan-Msg-Size: 355 X-Barracuda-BRTS-Status: 1 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0114 1.0000 -1.9469 X-Barracuda-Spam-Score: -1.95 X-Barracuda-Spam-Status: No, SCORE=-1.95 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=7.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.83331 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Received-SPF: pass client-ip=194.94.98.156; envelope-from=brauer@nordakademie.de; helo=merkur.nordakademie.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/20 09:09:41 X-ACL-Warn: Detected OS = ??? X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: 0.49 X-TUID: AuDBs2eGOflB Hi! After having upgraded my packages I can activate org-ref anymore.=20 (require 'org-ref) results in the error message: File error: Cannot open load file, No such file or directory, biblio Any hints what is going wrong? I am using org-ref-20200710.1516 Aquamacs 3.5 GNU Emacs 25.3.50.1 (x86_64-apple-darwin16.7.0 macOs 10.15.6 Johannes From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id SFamLhChFV/2LwAA0tVLHw (envelope-from ) for ; Mon, 20 Jul 2020 13:50:08 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 2Fl7KhChFV/JewAAB5/wlQ (envelope-from ) for ; Mon, 20 Jul 2020 13:50:08 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B2AA69403C9 for ; Mon, 20 Jul 2020 13:50:07 +0000 (UTC) Received: from localhost ([::1]:44118 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jxWBB-0006Jp-2I for larch@yhetil.org; Mon, 20 Jul 2020 09:50:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48360) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jxWAk-0006J5-2A for emacs-orgmode@gnu.org; Mon, 20 Jul 2020 09:49:38 -0400 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]:40056) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jxWAi-0007Pa-59 for emacs-orgmode@gnu.org; Mon, 20 Jul 2020 09:49:37 -0400 Received: by mail-wm1-x32b.google.com with SMTP id f139so25258534wmf.5 for ; Mon, 20 Jul 2020 06:49:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=andrew-cmu-edu.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=CkUiakWB3BUazVDCpSNrWX6jjlRBrlAcYROB8b7XHpc=; b=pr46C6SrXvJam4oioS4Rl8ScKtrQNZPHwigjSy0nNcjX8aODrt42JRTeB2l3Mssjht BbAKXfNXoUG/UFdE3nYhoCv3xvcS377AfWD8jZ7MRvp5EAmDXpx8QhI7fFo8/vC3daA0 kdHdmgqIePMSmHpHB2PGyb2U26pGcYr6V3hdZH93OMHOHLHMGvq9jC2K6+6fTwlzb6jI H4QyjTxWC4sk6m62aOh6rxwOmoR9UxJ6M0Hk6B6T2fppGU8mGO21sem7UdR1zEYObc4Q cdrmoK9NfWGNG7TIr6EeTKhdUut9KSKjIs5Ygh1oRRntxIgg6I0d24OCb6cEQuUzYTZq jCmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=CkUiakWB3BUazVDCpSNrWX6jjlRBrlAcYROB8b7XHpc=; b=LzTci/a05/JFMi8iITpMJSofrjmw3w58k94nLsQgsCRwIb3FUFp1hhXTneFZnR0n5I YplTjm9Zs1+di0pw7fifwps3GP3jtJtsI7AFoadKPlcMo//lcV5YwUOqzKA4QhdMcanv P4ivWBlutQPr6Ck9hjSXrfYpKGhlWPTJXOIDYxlERoOUUdPnnfHMC0ZAhdixLccIGFw2 QkFdii6vPrnQsLMv/z8nUOpHvGacLG1lQ7A+D+1xk0eQGfLQkhTC9kp4Su+WLRcRCQ/X zSzrxr/QP9FUthneQnBg5H/m07sS/1EDKfHJOZJA1pOYKjn3hc+fQEdjOvzV0KRB4ETV 9WFw== X-Gm-Message-State: AOAM5311NL5XMCm0CDGu3scZy+BOUMEonTy37E0NedcBAdcvY0NppBTc GQHUGmzal7pqGiNtIVEJWjFPBMeAnEPzXABi1bw= X-Google-Smtp-Source: ABdhPJzu4qltiwWGuW/aqs8pzGunorZbnQeCe4RxZJFMdL7iD1agba7SzfwjTw0V/0f7bsAQfmyzb33kGT8PhLKmZx0= X-Received: by 2002:a1c:6354:: with SMTP id x81mr20849607wmb.98.1595252973745; Mon, 20 Jul 2020 06:49:33 -0700 (PDT) MIME-Version: 1.0 References: <3028D5C4-A624-4016-8B1B-A04AF2B105CC@nordakademie.de> In-Reply-To: <3028D5C4-A624-4016-8B1B-A04AF2B105CC@nordakademie.de> From: John Kitchin Date: Mon, 20 Jul 2020 09:49:22 -0400 Message-ID: Subject: Re: problem with org-ref To: Johannes Brauer Content-Type: multipart/alternative; boundary="000000000000d3ba9505aadfc687" Received-SPF: pass client-ip=2a00:1450:4864:20::32b; envelope-from=johnrkitchin@gmail.com; helo=mail-wm1-x32b.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: 1 X-Spam_score: 0.1 X-Spam_bar: / X-Spam_report: (0.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=1, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "emacs-orgmode@gnu.org" Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=andrew-cmu-edu.20150623.gappssmtp.com header.s=20150623 header.b=pr46C6Sr; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=andrew.cmu.edu (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: 1.39 X-TUID: 44wGXt4DB5hN --000000000000d3ba9505aadfc687 Content-Type: text/plain; charset="UTF-8" This means the biblio package is not installed for some reason. John ----------------------------------- 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 On Mon, Jul 20, 2020 at 9:10 AM Johannes Brauer wrote: > Hi! > After having upgraded my packages I can activate org-ref anymore. > (require 'org-ref) results in the error message: > File error: Cannot open load file, No such file or directory, biblio > > Any hints what is going wrong? > > I am using > org-ref-20200710.1516 > Aquamacs 3.5 GNU Emacs 25.3.50.1 (x86_64-apple-darwin16.7.0 > macOs 10.15.6 > > Johannes > > > --000000000000d3ba9505aadfc687 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
This means the biblio package is not installed for some re= ason.=C2=A0

John

-----------------------------------
Professor John Kit= chin=C2=A0
Doherty Hall A207F
Department of Chemical Engineering
C= arnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu

=


On Mon, Jul 20, 2020 at 9:10 AM Johannes Brau= er <brauer@nordakademie.de= > wrote:
Hi!<= br> After having upgraded my packages I can activate org-ref anymore.
(require 'org-ref) results in the error message:
File error: Cannot open load file, No such file or directory, biblio

Any hints what is going wrong?

I am using
org-ref-20200710.1516
Aquamacs 3.5=C2=A0 GNU Emacs 25.3.50.1 (x86_64-apple-darwin16.7.0
macOs 10.15.6

Johannes


--000000000000d3ba9505aadfc687-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id SE1FNNFERmBDMAAA0tVLHw (envelope-from ) for ; Mon, 08 Mar 2021 15:37:53 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id KJ4EMNFERmBFPwAAB5/wlQ (envelope-from ) for ; Mon, 08 Mar 2021 15:37:53 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C1EC210C1F for ; Mon, 8 Mar 2021 16:37:50 +0100 (CET) Received: from localhost ([::1]:54816 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lJHx7-0002Xh-UM for larch@yhetil.org; Mon, 08 Mar 2021 10:37:49 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54388) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lJHvd-0002Iw-3r for emacs-orgmode@gnu.org; Mon, 08 Mar 2021 10:36:17 -0500 Received: from mail-bn8nam11on2122.outbound.protection.outlook.com ([40.107.236.122]:12362 helo=NAM11-BN8-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lJHvW-0005cB-S7 for emacs-orgmode@gnu.org; Mon, 08 Mar 2021 10:36:16 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hjV/HZjzinWDyGDVmE7FSujfRKDarbd9414R08Iyv4qKC3z1U2oD/rSY8s1qS1fGz7jbDwV4bQPpfFqjyubj3nAIW46IM0eimX+aPY01wOY+0wGbcaE8pQ1pwmFbq/ljdkfq1J+swZ/7bkKWAvO6kfCKqno0zLbBfBsbfTPvrglEchTtDSHOt+Iqonp5OXH0wILNMNwYKHBf4UAkUvqc89Z0akSAvZe1YkAfp6C9HaUlaheIHBmXPaM3IUavbExXFvICEHYq6Zmbx7iP1gEoJ0FRZazex2eIiV5cmw6CxeARqNLs6EhQKDWj8uWchhyAN5ji7RHIg2kshvEXO+jG7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lBPkaRQNc3E9XaCIkrH5kJsJyTRh4D+xeTtS2cEVr2A=; b=LlNMOA7+dtCriymo16wwgcwoZzAg0Y2Xc9iEmF41GZLYFH44Y75wR2CR2GHrY/eMIp4FfsfsJEmznDQoUbOLPHzUogGjsklZ8vJdaGGbgjUOfN2Y93IoYIfRJTaVDIBKSwM8pFjRSVQBHGsgRZu0PTC2kFDSZxHSGe7873pw4miIo1JmvFONssYQ2qDcakobwFu9rc8BA/dNwwG3QEr/p0EpafLKgCI3w3nVMZVKZJ1yghGRfT3IHPCkKW8XPvkVn+/LUdLKhab1zZl7HCzIgUBWlaKYJd+b/OT3IHO0LH082LjqlA7jCf2EcqjI7X49GaiFAB/8ZleY6H/6+y+etQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=rochester.edu; dmarc=pass action=none header.from=ur.rochester.edu; dkim=pass header.d=ur.rochester.edu; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ur.rochester.edu; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lBPkaRQNc3E9XaCIkrH5kJsJyTRh4D+xeTtS2cEVr2A=; b=Gr8waRCxqxBgQBbL1MbYBrB+2ghKT2YUijDbPEw8RzGwWNtsnjEom4Y3wADZ3TLV6BxjyqHqZ/vvyrlK1q5U3HMt+Ra9qnoVIFu6KVipJiEivm889uo/qhKA+i1ceqWNdM9GzFzwHneen6Y7WraNE33hO99p+T6tHUTqGoOiKNI= Received: from CH2PR07MB6502.namprd07.prod.outlook.com (2603:10b6:610:26::31) by CH2PR07MB7288.namprd07.prod.outlook.com (2603:10b6:610:a6::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3912.19; Mon, 8 Mar 2021 15:21:06 +0000 Received: from CH2PR07MB6502.namprd07.prod.outlook.com ([fe80::6815:2600:6c37:ca86]) by CH2PR07MB6502.namprd07.prod.outlook.com ([fe80::6815:2600:6c37:ca86%5]) with mapi id 15.20.3890.037; Mon, 8 Mar 2021 15:21:06 +0000 From: "Marvin M. Doyley" X-Mailbutler-Message-Id: 046602B3-8ED0-4611-99BC-FA28DB4D1F53 Content-Type: multipart/alternative; boundary="Apple-Mail=_5D3E1BA6-465F-4527-A3DD-77820A605421" Subject: Problem with org-ref Message-Id: Date: Mon, 8 Mar 2021 10:20:50 -0500 To: emacs-orgmode@gnu.org X-Mailer: Apple Mail (2.3608.120.23.2.4) X-Originating-IP: [128.151.13.202] X-ClientProxiedBy: MN2PR14CA0014.namprd14.prod.outlook.com (2603:10b6:208:23e::19) To CH2PR07MB6502.namprd07.prod.outlook.com (2603:10b6:610:26::31) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from vpn13-202.net.rochester.edu (128.151.13.202) by MN2PR14CA0014.namprd14.prod.outlook.com (2603:10b6:208:23e::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3912.17 via Frontend Transport; Mon, 8 Mar 2021 15:21:05 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: af3faf22-9bfa-4a4e-6ae2-08d8e245cb1b X-MS-TrafficTypeDiagnostic: CH2PR07MB7288: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:200; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: vSOujmCKtft7D3TSiLCuy/Pxqyse9oz+lz+oqdlFleKzBPxxSOHO5/9WUSm3ZYXUXs21XLogYN9EpzsyO6KRUHXapj1hx0hA7AvsGqXOkPsOAtJqks1KR8rMEPhNdSh2PJMfyoTZyJS+CPRfZ0wvpCcvOoSAi06T0ehRM7Lrg5WUsG8e2UrEfGJmyNn0PnobyiENXs1IlPsslkTlUrKXXHLlKo15A+qvthlPOdlFCohuTpS6EqexVKCId2nI/SQe5w+in2nf0FZEh68XRsIvrVDUu3aVJ8vQ95hqfQ0rpUFZPKWf0K9sgxW3Gh3tk+mg348opFiJTuy+jJa1KhCxr43yxbKpkF/5EyfN8OG+9ghTs4a8/iI+vzlybSdFv71eCIgq/xGEKNmLaZ6WlqjFAcjsBgSDeIGzP1NRPVILLGkvmdGSWt80VrRi3zeThArPFlthQd4bLeWBQSECt9I5vv8pLHF7OtP4U9PvuAKQLnwfpfo0Sf/5WldJRY27LESON/dQbdUMNAoBIG2clTH2Apr96FtLAf5nVEVkNrzFWCrPBg1FXaFIxsp7nU6zcvCMf3yirrY1s15JeBHZVZymbEm9MfiB5maAGRw25B3VkjsZFhmEQN9vpwGwa1aKVZEHny9/LPTDzEcV5GZXrUh2Lw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH2PR07MB6502.namprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(136003)(366004)(396003)(346002)(39850400004)(30864003)(66476007)(6512007)(6916009)(33656002)(966005)(478600001)(16526019)(66946007)(186003)(3480700007)(75432002)(66556008)(83380400001)(8936002)(6486002)(76236003)(5660300002)(8676002)(166002)(786003)(6666004)(2906002)(2616005)(33964004)(316002)(956004)(52116002)(6506007)(83170400001)(26005)(45980500001)(579004); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData: =?utf-8?B?QzNUV2tCM3dHallMdnQvWHo5Sml5UDU1bVQ3NU9wU3VOcVc5b2txcUd5OENC?= =?utf-8?B?UmZoZ1hGTEg5ZnVaY05RQVdrUDJDYWFySjArZVE0bmUzZlpieUI1d2xQSTRx?= =?utf-8?B?Qmtxangrb0FZQVZyMllaZ2xVbkRpajFFSmppRWc2NDdNUld6RXZySlYxWUJh?= =?utf-8?B?MEIzWWRkam1tM3dWelNLM0VsU0F0UG1TcFIyUjQvVjcwQlJRT3VBbzVZMVpp?= =?utf-8?B?TGZWaEdlNWI0TWRkOW1KZGpHWEFNMXdyTEg2bVZGUmkzN2xRcVEvZGEzYy9L?= =?utf-8?B?eGlmOFFjd2draEkxbFdvTGpqcnF3TDNIdmhzY0RHa1Z4N0puc3gxTXJUTnZH?= =?utf-8?B?aU5wY0l4dnk0cFVPQ1h4UUdaRWN0WjEraEo0VnpjR0NFOXVrQ2xuYnBQbERZ?= =?utf-8?B?RUxDWnlmbW5nZTIraGZ4bnlUR1B2MFZiR2UreXNlb2IyWnVxRDdiZWZIZFF0?= =?utf-8?B?YzhQdDVwandiYlM3ODNBekFXL245Q0ZOTEhYSTVXbUVuSFQ5WTdVNzMxdStT?= =?utf-8?B?NUw1My84cy94WCtTU0VPbVZTeGlsNzR6NzAzSG5NYlh4OU9ENlZzMTFmLytq?= =?utf-8?B?VXdpVzhPbnpRYUNHQjJWdmY5Q01IQjA5SFdDc3pYY2NWL3JQcU4zbmQzUkRM?= =?utf-8?B?cDUvRVNwcTZ4ZlIzTkFwNVczQjhnNUs2N1hpZVlJeXRoV0hQZ3hvTTNQUjVK?= =?utf-8?B?UHFvNlQwc2xhbGIvb1R5elhZZjFXUGtBQzNaWUlJSFBmd21tZjFja0liTVpj?= =?utf-8?B?VE9FVEdkaWRvVzliQnF6VHdZQzJ0cUdmUHgvMERlV29FTXFUSWdabXpvbzNm?= =?utf-8?B?cmhWdUwzVmtIbGhvaU53eTBHRkJBeW85Q2xuTHQ1ZTQ3bGdOSENlN0ZYWVI0?= =?utf-8?B?T3F1MzdJa1hpSUFwc09BdzZhYWhkU0xLek9mT2Zjdm9JdXZ6elhGTGx6R2ln?= =?utf-8?B?c2orajR1THdIaUNFWXpGRDBiSTg2TGprTDJUZHh4QTdyUUlYOWNIYVIvaysy?= =?utf-8?B?WDdUWUdPVHY4U1hkdlQ1MWczS2IycWlSQWFnL09RMkdmQ2tBRlBMYXFaNGxG?= =?utf-8?B?NUp6V0lzUlNqandMaUc2LzRHekNyOGlxYlRPanc1SEVnK25KcFNKS0E5YnV5?= =?utf-8?B?N1FJOHZjMUtYcUlIR3FQU08wKzhFbDRHMDFFODRYQngxb3N1cjE2MDhqSTBj?= =?utf-8?B?YlFOdVVWSXdCdm9BcmJtU3REZ1U4WWZaaHhmdG1oaXkrNi9FRWNHWFE5NHRp?= =?utf-8?B?VWExUlRPYnN0WkZCRVdySmxtWFlsVlVzQ3pnY1EvUkt6a1RiTDBsZTJlQ3cr?= =?utf-8?B?SmR1Q3FxNkVJYXpoanN5R2hZdmNyd3JNWVVnaTlOZGwrVHdWMGZkV2JGT3ZG?= =?utf-8?B?VWFCa0p2RG1rSWdjRXBBdndldzkveHRsQmxta1NRV00vaUhVazF5R2tPSkhz?= =?utf-8?B?bkRBeGJ3R0NpelZkeklMTUhpOGE3QlhybXRxV3R0YWpxT004Mjg3VkdEN2cz?= =?utf-8?B?S1huZGtYWFJBb2VTU05BdjMrcndYN3F6SlZzOWJpM0ZqNFRqdnVSQzFKbFNu?= =?utf-8?B?SmxFcUlBZEl2WjlicklNVndNaW8yYzdnODNibEJoaFRjNDliNGIwM29ab3BK?= =?utf-8?B?V3RSa2hmQlBqSXRjaE5HWXlhVXBZMmFjK0xqOG9oNEhuQ2djSnYzbFdWells?= =?utf-8?B?S2xlVlBYaHFDeU9mRmw1V3YxY05vRzVjQWh5YzdRNkswTkJaTDgrR2pvNXQ0?= =?utf-8?Q?T9fhnudgWrS0dWbJMFiHgmJOLgZRqSS1FbWKpNw?= X-OriginatorOrg: ur.rochester.edu X-MS-Exchange-CrossTenant-Network-Message-Id: af3faf22-9bfa-4a4e-6ae2-08d8e245cb1b X-MS-Exchange-CrossTenant-AuthSource: CH2PR07MB6502.namprd07.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Mar 2021 15:21:06.3546 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 374e17f4-cf11-4ce2-b3ef-5de76bf4ce41 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: wwFrFT8IkVdni0CiWWejUw9Yo9UiuU4qSUWkB2K1XHj5f6Rm315ouQkxt+xRFxxJCwdS9R/26566WMgCm0MVZ4q1y0oRHPq8vkT03KS/1aU= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR07MB7288 Received-SPF: none client-ip=40.107.236.122; envelope-from=m.doyley@rochester.edu; helo=NAM11-BN8-obe.outbound.protection.outlook.com X-Spam_score_int: -9 X-Spam_score: -1.0 X-Spam_bar: - X-Spam_report: (-1.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FORGED_SPF_HELO=1, HTML_MESSAGE=0.001, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_NONE=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1615217872; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=lBPkaRQNc3E9XaCIkrH5kJsJyTRh4D+xeTtS2cEVr2A=; b=RwczoKiGY559f6BQ9vKYAHX+iG8NcPNcGzOSporaUdVGZKZY/waijzlpZrgyjiDO4/DooE WOxg+MeGH3EOWs7saF+I/3mFs+gydYJ25Rq9woC6ne5uk60qFSToxodAh0YQea0GKr6EEZ xUrrjtuiPzxgVpTdI6Lv6ZY/E2kcBaJk+pQjBAo2alI/y5/3GUetw19JVmjA2GBWh9ATkm 7/TrJiIen3VhVlI9oe/s+MvTq1kqQFha0rPKBJrtLBHXXlkQvVplj0aTizyM3NuUYESjPc VklIUEIWkiYgpaXB8GoGEsECMqh3iYhnks75+5uRXg/+FR243FpSYEX3kkKdiw== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1615217872; a=rsa-sha256; cv=pass; b=EH8MeDe6fyCZjgYWQ49iTXmVTKGbI5tPa8MEnypjLtZdlYb1J9yle87D/st/Hd5V6UBwnV 9nmRp+df4JxEuBYGIDDHKbpeIKcv/sF4Ob0+BFL2RrWDL82YYty5BV8jS7vJRDx+4TI2Dq eOs3aTySZUkquE4CqceTfHQBM+NAR/A8nsAib4XhLI8yv++8VJI/WKUqbS4kmugK01CuwL 0iD0apwoBwrLStjDRan/fRhpzg32wvCfBfO1tmi+lEf45T1Q5142nyulnVydkh35ldsbDM cTMTkdmG4UA0VM4hBW3+aaSksTSW/shflnXyI8U6OWPidlgBYs8UqEHRqSzjCQ== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=ur.rochester.edu header.s=selector2 header.b=Gr8waRCx; arc=pass ("microsoft.com:s=arcselector9901:i=1"); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -4.08 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=ur.rochester.edu header.s=selector2 header.b=Gr8waRCx; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=none) header.from=rochester.edu; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: C1EC210C1F X-Spam-Score: -4.08 X-Migadu-Scanner: scn0.migadu.com X-TUID: Bw1D907VDnji --Apple-Mail=_5D3E1BA6-465F-4527-A3DD-77820A605421 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 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/=E2=80=9C)) I configured org-ref as follows (setq org-ref-bibliography-notes = '("/Users/doyley/Dropbox/Filing_Cabinet/B/refs/ref_notes.org")=20 org-ref-default-bibliography = '("/Users/doyley/Dropbox/Filing_Cabinet/B/refs/ref.bib")=20 org-ref-pdf-directory = '("/Users/doyley/Dropbox/Filing_Cabinet/B/refs/pdf/") org-ref-notes-citation-link '("cite") ) (setq bibtex-completion-bibliography = '("/Users/doyley/Dropbox/Filing_Cabinet/B/refs/ref.bib")=20 bibtex-completion-library-path '("~/Org-files/Notes/PDF")) (setq bibtex-completion-notes-path "~/Org-files/Notes/ref_notes.org")=20 (setq bibtex-completion-pdf-symbol "=E2=8C=98") (setq bibtex-completion-notes-symbol "=E2=9C=8E") Also enclosed is the backtrace Thanks for your help in resolving this issue=20 M 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) funcall-interactively(doi-utils-get-bibtex-entry-pdf nil) call-interactively(doi-utils-get-bibtex-entry-pdf record nil) command-execute(doi-utils-get-bibtex-entry-pdf record) helm-M-x-execute-command(doi-utils-get-bibtex-entry-pdf) helm-execute-selection-action-1() helm-execute-selection-action() helm-internal((((name . "Emacs Commands history") (candidates . = #f(compiled-function () #)) (keymap keymap = (keymap ...) keymap (21 . helm-M-x-universal-argument) keymap (127 . = delete-backward-char) (27 keymap ...) (C-return . helm-cr-empty-string) = keymap (tab . helm-execute-persistent-action) (normal-state keymap = "Auxiliary keymap for Normal stat..." ... ... ... ... ... ... ... ... = ... ... ... ... ... ... ... ... ... ... ... ... ...) (insert-state = keymap "Auxiliary keymap for Insert stat..." ... ... ... ... ... ... ... = ...) (\(insert\ normal\)-state keymap "Auxiliary keymap for (insert = nor...") (26 . helm-select-action) (f13 lambda nil ... ...) (f12 lambda = nil ... ...) (f11 lambda nil ... ...) (f10 lambda nil ... ...) (f9 = lambda nil ... ...) (f8 lambda nil ... ...) (f7 lambda nil ... ...) (f6 = lambda nil ... ...) (f5 lambda nil ... ...) (f4 lambda nil ... ...) (f3 = lambda nil ... ...) (f2 lambda nil ... ...) (menu-bar keymap ...) (help = keymap ...) (23 . #f(compiled-function () ... #)) (f1 lambda nil ... ...) (8 keymap ... ... ... ... ...) = ...) (action . helm-type-command-actions) (persistent-action . = helm-M-x-persistent-action) (persistent-help . "Describe this command") = (help-message . helm-M-x-help-message) (requires-pattern . 0) = (filtered-candidate-transformer helm-M-x-transformer-no-sort = helm-fuzzy-highlight-matches) (volatile . t) (match . identity) = (redisplay . identity) (nomark . t) (coerce . helm-symbolify) = (header-line . "C-j: Describe this command (keep...") (must-match . t) = (group . helm-command) (match-dynamic . t)) ((name . "Emacs Commands") = (candidates . #f(compiled-function () #)) = (keymap keymap (keymap ...) keymap (21 . helm-M-x-universal-argument) = keymap (127 . delete-backward-char) (27 keymap ...) (C-return . = helm-cr-empty-string) keymap (tab . helm-execute-persistent-action) = (normal-state keymap "Auxiliary keymap for Normal stat..." ... ... ... = ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...) = (insert-state keymap "Auxiliary keymap for Insert stat..." ... ... ... = ... ... ... ... ...) (\(insert\ normal\)-state keymap "Auxiliary keymap = for (insert nor...") (26 . helm-select-action) (f13 lambda nil ... ...) = (f12 lambda nil ... ...) (f11 lambda nil ... ...) (f10 lambda nil ... = ...) (f9 lambda nil ... ...) (f8 lambda nil ... ...) (f7 lambda nil ... = ...) (f6 lambda nil ... ...) (f5 lambda nil ... ...) (f4 lambda nil ... = ...) (f3 lambda nil ... ...) (f2 lambda nil ... ...) (menu-bar keymap = ...) (help keymap ...) (23 . #f(compiled-function () ... #)) (f1 lambda nil ... ...) (8 keymap ... ... ... ... ...) = ...) (action . helm-type-command-actions) (persistent-action . = helm-M-x-persistent-action) (persistent-help . "Describe this command") = (help-message . helm-M-x-help-message) (requires-pattern . 0) = (filtered-candidate-transformer helm-M-x-transformer-no-sort = helm-fuzzy-highlight-matches) (volatile . t) (match . identity) = (redisplay . identity) (nomark . t) (coerce . helm-symbolify) = (header-line . "C-j: Describe this command (keep...") (must-match . t) = (group . helm-command) (match-dynamic . t))) nil "M-x " nil nil "*helm = M-x*" nil nil helm-M-x-input-history) apply(helm-internal ((((name . "Emacs Commands history") (candidates . = #f(compiled-function () #)) (keymap keymap = (keymap ...) keymap (21 . helm-M-x-universal-argument) keymap (127 . = delete-backward-char) (27 keymap ...) (C-return . helm-cr-empty-string) = keymap (tab . helm-execute-persistent-action) (normal-state keymap = "Auxiliary keymap for Normal state" ... ... ... ... ... ... ... ... ... = ... ... ... ... ... ... ... ... ... ... ... ...) (insert-state keymap = "Auxiliary keymap for Insert state" ... ... ... ... ... ... ... ...) = (\(insert\ normal\)-state keymap "Auxiliary keymap for (insert normal) = s...") (26 . helm-select-action) (f13 lambda nil ... ...) (f12 lambda = nil ... ...) (f11 lambda nil ... ...) (f10 lambda nil ... ...) (f9 = lambda nil ... ...) (f8 lambda nil ... ...) (f7 lambda nil ... ...) (f6 = lambda nil ... ...) (f5 lambda nil ... ...) (f4 lambda nil ... ...) (f3 = lambda nil ... ...) (f2 lambda nil ... ...) (menu-bar keymap ...) (help = keymap ...) (23 . #f(compiled-function () ... #)) (f1 lambda nil ... ...) (8 keymap ... ... ... ... ...) = (20 . helm-toggle-resplit-and-swap-windows) (C-tab . undefined) = (67108897 . helm-toggle-suspend-update) (3 keymap ... ... ... ... ... = ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...) = (67108987 . helm-enlarge-window) (67108989 . helm-narrow-window) ...) = (action . helm-type-command-actions) (persistent-action . = helm-M-x-persistent-action) (persistent-help . "Describe this command") = (help-message . helm-M-x-help-message) (requires-pattern . 0) = (filtered-candidate-transformer helm-M-x-transformer-no-sort = helm-fuzzy-highlight-matches) (volatile . t) (match . identity) = (redisplay . identity) (nomark . t) (coerce . helm-symbolify) = (header-line . "C-j: Describe this command (keeping se...") (must-match = . t) (group . helm-command) (match-dynamic . t)) ((name . "Emacs = Commands") (candidates . #f(compiled-function () #)) (keymap keymap (keymap ...) keymap (21 . = helm-M-x-universal-argument) keymap (127 . delete-backward-char) (27 = keymap ...) (C-return . helm-cr-empty-string) keymap (tab . = helm-execute-persistent-action) (normal-state keymap "Auxiliary keymap = for Normal state" ... ... ... ... ... ... ... ... ... ... ... ... ... = ... ... ... ... ... ... ... ...) (insert-state keymap "Auxiliary keymap = for Insert state" ... ... ... ... ... ... ... ...) (\(insert\ = normal\)-state keymap "Auxiliary keymap for (insert normal) s...") (26 . = helm-select-action) (f13 lambda nil ... ...) (f12 lambda nil ... ...) = (f11 lambda nil ... ...) (f10 lambda nil ... ...) (f9 lambda nil ... = ...) (f8 lambda nil ... ...) (f7 lambda nil ... ...) (f6 lambda nil ... = ...) (f5 lambda nil ... ...) (f4 lambda nil ... ...) (f3 lambda nil ... = ...) (f2 lambda nil ... ...) (menu-bar keymap ...) (help keymap ...) (23 = . #f(compiled-function () ... #)) (f1 lambda = nil ... ...) (8 keymap ... ... ... ... ...) (20 . = helm-toggle-resplit-and-swap-windows) (C-tab . undefined) (67108897 . = helm-toggle-suspend-update) (3 keymap ... ... ... ... ... ... ... ... = ... ... ... ... ... ... ... ... ... ... ... ... ...) (67108987 . = helm-enlarge-window) (67108989 . helm-narrow-window) ...) (action . = helm-type-command-actions) (persistent-action . = helm-M-x-persistent-action) (persistent-help . "Describe this command") = (help-message . helm-M-x-help-message) (requires-pattern . 0) = (filtered-candidate-transformer helm-M-x-transformer-no-sort = helm-fuzzy-highlight-matches) (volatile . t) (match . identity) = (redisplay . identity) (nomark . t) (coerce . helm-symbolify) = (header-line . "C-j: Describe this command (keeping se...") (must-match = . t) (group . helm-command) (match-dynamic . t))) nil "M-x " nil nil = "*helm M-x*" nil nil helm-M-x-input-history)) helm((((name . "Emacs Commands history") (candidates . = #f(compiled-function () #)) (keymap keymap = (keymap ...) keymap (21 . helm-M-x-universal-argument) keymap (127 . = delete-backward-char) (27 keymap ...) (C-return . helm-cr-empty-string) = keymap (tab . helm-execute-persistent-action) (normal-state keymap = "Auxiliary keymap for Normal stat..." ... ... ... ... ... ... ... ... = ... ... ... ... ... ... ... ... ... ... ... ... ...) (insert-state = keymap "Auxiliary keymap for Insert stat..." ... ... ... ... ... ... ... = ...) (\(insert\ normal\)-state keymap "Auxiliary keymap for (insert = nor...") (26 . helm-select-action) (f13 lambda nil ... ...) (f12 lambda = nil ... ...) (f11 lambda nil ... ...) (f10 lambda nil ... ...) (f9 = lambda nil ... ...) (f8 lambda nil ... ...) (f7 lambda nil ... ...) (f6 = lambda nil ... ...) (f5 lambda nil ... ...) (f4 lambda nil ... ...) (f3 = lambda nil ... ...) (f2 lambda nil ... ...) (menu-bar keymap ...) (help = keymap ...) (23 . #f(compiled-function () ... #)) (f1 lambda nil ... ...) (8 keymap ... ... ... ... ...) = ...) (action . helm-type-command-actions) (persistent-action . = helm-M-x-persistent-action) (persistent-help . "Describe this command") = (help-message . helm-M-x-help-message) (requires-pattern . 0) = (filtered-candidate-transformer helm-M-x-transformer-no-sort = helm-fuzzy-highlight-matches) (volatile . t) (match . identity) = (redisplay . identity) (nomark . t) (coerce . helm-symbolify) = (header-line . "C-j: Describe this command (keep...") (must-match . t) = (group . helm-command) (match-dynamic . t)) ((name . "Emacs Commands") = (candidates . #f(compiled-function () #)) = (keymap keymap (keymap ...) keymap (21 . helm-M-x-universal-argument) = keymap (127 . delete-backward-char) (27 keymap ...) (C-return . = helm-cr-empty-string) keymap (tab . helm-execute-persistent-action) = (normal-state keymap "Auxiliary keymap for Normal stat..." ... ... ... = ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...) = (insert-state keymap "Auxiliary keymap for Insert stat..." ... ... ... = ... ... ... ... ...) (\(insert\ normal\)-state keymap "Auxiliary keymap = for (insert nor...") (26 . helm-select-action) (f13 lambda nil ... ...) = (f12 lambda nil ... ...) (f11 lambda nil ... ...) (f10 lambda nil ... = ...) (f9 lambda nil ... ...) (f8 lambda nil ... ...) (f7 lambda nil ... = ...) (f6 lambda nil ... ...) (f5 lambda nil ... ...) (f4 lambda nil ... = ...) (f3 lambda nil ... ...) (f2 lambda nil ... ...) (menu-bar keymap = ...) (help keymap ...) (23 . #f(compiled-function () ... #)) (f1 lambda nil ... ...) (8 keymap ... ... ... ... ...) = ...) (action . helm-type-command-actions) (persistent-action . = helm-M-x-persistent-action) (persistent-help . "Describe this command") = (help-message . helm-M-x-help-message) (requires-pattern . 0) = (filtered-candidate-transformer helm-M-x-transformer-no-sort = helm-fuzzy-highlight-matches) (volatile . t) (match . identity) = (redisplay . identity) (nomark . t) (coerce . helm-symbolify) = (header-line . "C-j: Describe this command (keep...") (must-match . t) = (group . helm-command) (match-dynamic . t))) nil "M-x " nil nil "*helm = M-x*" nil nil helm-M-x-input-history) apply(helm ((((name . "Emacs Commands history") (candidates . = #f(compiled-function () #)) (keymap keymap = (keymap ...) keymap (21 . helm-M-x-universal-argument) keymap (127 . = delete-backward-char) (27 keymap ...) (C-return . helm-cr-empty-string) = keymap (tab . helm-execute-persistent-action) (normal-state keymap = "Auxiliary keymap for Normal state" ... ... ... ... ... ... ... ... ... = ... ... ... ... ... ... ... ... ... ... ... ...) (insert-state keymap = "Auxiliary keymap for Insert state" ... ... ... ... ... ... ... ...) = (\(insert\ normal\)-state keymap "Auxiliary keymap for (insert normal) = s...") (26 . helm-select-action) (f13 lambda nil ... ...) (f12 lambda = nil ... ...) (f11 lambda nil ... ...) (f10 lambda nil ... ...) (f9 = lambda nil ... ...) (f8 lambda nil ... ...) (f7 lambda nil ... ...) (f6 = lambda nil ... ...) (f5 lambda nil ... ...) (f4 lambda nil ... ...) (f3 = lambda nil ... ...) (f2 lambda nil ... ...) (menu-bar keymap ...) (help = keymap ...) (23 . #f(compiled-function () ... #)) (f1 lambda nil ... ...) (8 keymap ... ... ... ... ...) = (20 . helm-toggle-resplit-and-swap-windows) (C-tab . undefined) = (67108897 . helm-toggle-suspend-update) (3 keymap ... ... ... ... ... = ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...) = (67108987 . helm-enlarge-window) (67108989 . helm-narrow-window) ...) = (action . helm-type-command-actions) (persistent-action . = helm-M-x-persistent-action) (persistent-help . "Describe this command") = (help-message . helm-M-x-help-message) (requires-pattern . 0) = (filtered-candidate-transformer helm-M-x-transformer-no-sort = helm-fuzzy-highlight-matches) (volatile . t) (match . identity) = (redisplay . identity) (nomark . t) (coerce . helm-symbolify) = (header-line . "C-j: Describe this command (keeping se...") (must-match = . t) (group . helm-command) (match-dynamic . t)) ((name . "Emacs = Commands") (candidates . #f(compiled-function () #)) (keymap keymap (keymap ...) keymap (21 . = helm-M-x-universal-argument) keymap (127 . delete-backward-char) (27 = keymap ...) (C-return . helm-cr-empty-string) keymap (tab . = helm-execute-persistent-action) (normal-state keymap "Auxiliary keymap = for Normal state" ... ... ... ... ... ... ... ... ... ... ... ... ... = ... ... ... ... ... ... ... ...) (insert-state keymap "Auxiliary keymap = for Insert state" ... ... ... ... ... ... ... ...) (\(insert\ = normal\)-state keymap "Auxiliary keymap for (insert normal) s...") (26 . = helm-select-action) (f13 lambda nil ... ...) (f12 lambda nil ... ...) = (f11 lambda nil ... ...) (f10 lambda nil ... ...) (f9 lambda nil ... = ...) (f8 lambda nil ... ...) (f7 lambda nil ... ...) (f6 lambda nil ... = ...) (f5 lambda nil ... ...) (f4 lambda nil ... ...) (f3 lambda nil ... = ...) (f2 lambda nil ... ...) (menu-bar keymap ...) (help keymap ...) (23 = . #f(compiled-function () ... #)) (f1 lambda = nil ... ...) (8 keymap ... ... ... ... ...) (20 . = helm-toggle-resplit-and-swap-windows) (C-tab . undefined) (67108897 . = helm-toggle-suspend-update) (3 keymap ... ... ... ... ... ... ... ... = ... ... ... ... ... ... ... ... ... ... ... ... ...) (67108987 . = helm-enlarge-window) (67108989 . helm-narrow-window) ...) (action . = helm-type-command-actions) (persistent-action . = helm-M-x-persistent-action) (persistent-help . "Describe this command") = (help-message . helm-M-x-help-message) (requires-pattern . 0) = (filtered-candidate-transformer helm-M-x-transformer-no-sort = helm-fuzzy-highlight-matches) (volatile . t) (match . identity) = (redisplay . identity) (nomark . t) (coerce . helm-symbolify) = (header-line . "C-j: Describe this command (keeping se...") (must-match = . t) (group . helm-command) (match-dynamic . t))) nil "M-x " nil nil = "*helm M-x*" nil nil helm-M-x-input-history)) helm(:sources (((name . "Emacs Commands history") (candidates . = #f(compiled-function () #)) (keymap keymap = (keymap ...) keymap (21 . helm-M-x-universal-argument) keymap (127 . = delete-backward-char) (27 keymap ...) (C-return . helm-cr-empty-string) = keymap (tab . helm-execute-persistent-action) (normal-state keymap = "Auxiliary keymap for Normal stat..." ... ... ... ... ... ... ... ... = ... ... ... ... ... ... ... ... ... ... ... ... ...) (insert-state = keymap "Auxiliary keymap for Insert stat..." ... ... ... ... ... ... ... = ...) (\(insert\ normal\)-state keymap "Auxiliary keymap for (insert = nor...") (26 . helm-select-action) (f13 lambda nil ... ...) (f12 lambda = nil ... ...) (f11 lambda nil ... ...) (f10 lambda nil ... ...) (f9 = lambda nil ... ...) (f8 lambda nil ... ...) (f7 lambda nil ... ...) (f6 = lambda nil ... ...) (f5 lambda nil ... ...) (f4 lambda nil ... ...) (f3 = lambda nil ... ...) (f2 lambda nil ... ...) (menu-bar keymap ...) (help = keymap ...) (23 . #f(compiled-function () ... #)) (f1 lambda nil ... ...) (8 keymap ... ... ... ... ...) = ...) (action . helm-type-command-actions) (persistent-action . = helm-M-x-persistent-action) (persistent-help . "Describe this command") = (help-message . helm-M-x-help-message) (requires-pattern . 0) = (filtered-candidate-transformer helm-M-x-transformer-no-sort = helm-fuzzy-highlight-matches) (volatile . t) (match . identity) = (redisplay . identity) (nomark . t) (coerce . helm-symbolify) = (header-line . "C-j: Describe this command (keep...") (must-match . t) = (group . helm-command) (match-dynamic . t)) ((name . "Emacs Commands") = (candidates . #f(compiled-function () #)) = (keymap keymap (keymap ...) keymap (21 . helm-M-x-universal-argument) = keymap (127 . delete-backward-char) (27 keymap ...) (C-return . = helm-cr-empty-string) keymap (tab . helm-execute-persistent-action) = (normal-state keymap "Auxiliary keymap for Normal stat..." ... ... ... = ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...) = (insert-state keymap "Auxiliary keymap for Insert stat..." ... ... ... = ... ... ... ... ...) (\(insert\ normal\)-state keymap "Auxiliary keymap = for (insert nor...") (26 . helm-select-action) (f13 lambda nil ... ...) = (f12 lambda nil ... ...) (f11 lambda nil ... ...) (f10 lambda nil ... = ...) (f9 lambda nil ... ...) (f8 lambda nil ... ...) (f7 lambda nil ... = ...) (f6 lambda nil ... ...) (f5 lambda nil ... ...) (f4 lambda nil ... = ...) (f3 lambda nil ... ...) (f2 lambda nil ... ...) (menu-bar keymap = ...) (help keymap ...) (23 . #f(compiled-function () ... #)) (f1 lambda nil ... ...) (8 keymap ... ... ... ... ...) = ...) (action . helm-type-command-actions) (persistent-action . = helm-M-x-persistent-action) (persistent-help . "Describe this command") = (help-message . helm-M-x-help-message) (requires-pattern . 0) = (filtered-candidate-transformer helm-M-x-transformer-no-sort = helm-fuzzy-highlight-matches) (volatile . t) (match . identity) = (redisplay . identity) (nomark . t) (coerce . helm-symbolify) = (header-line . "C-j: Describe this command (keep...") (must-match . t) = (group . helm-command) (match-dynamic . t))) :prompt "M-x " :buffer = "*helm M-x*" :history helm-M-x-input-history) helm-M-x-read-extended-command([okr LaTeX-length-list = ansi-color-apply-overlay-face epg-context-signers = reftex-untie-multifile-symbols 0 rng-what-schema vc-git-stash-snapshot = TeX-command-Biber reftex-default-bibliography = pdf-cache-renderpage-highlight pdf-cache-pagelinks = semantic-tag-write-list-slot-value markdown-match-bold = evil-replace-alist LaTeX-item-tabular* helm-type-timers-actions = biblio--selection-insert template nsm-permanent-host-settings = doom-modeline-eldoc-bar mixal gnus-summary-recenter = ob-ipython--create-repl cl-print--preprocess = semantic--tag-unlink-list-from-buffer org-fragtog-ignore-predicates = ellipses wicon vc-git-conflicted-files 0 TeX-auto-local = semanticdb-project-database-file-child-p evil-visual-exchange-corners = Load\ snippets\.\.\. \\prime sp-message test-command container \' ---5 = helm-grep-mode-jump-other-window-forward org-ref-notes-directory ---8 = sessions evil-collection-js2-mode-setup \. define-mode-local-override = evil-replace-state-local-map \\bullet ...]) helm-M-x(nil) funcall-interactively(helm-M-x nil) call-interactively(helm-M-x nil nil) command-execute(helm-M-x) ------ Marvin M. Doyley Ph.D. =20 Professor of Electrical and Computer Engineering, Professor of Biomedical Engineering, and of Imaging Sciences, University of Rochester 518 Computer Science Building Rochester NY 14627=20 Tel: 585-275-3774 Fax: 585-273-4919 Website: http://www.ece.rochester.edu/projects/doyley_lab/ =20 --Apple-Mail=_5D3E1BA6-465F-4527-A3DD-77820A605421 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Hi there,

When I use crossref-add-bibtex-entry it download th= e 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/=E2=80=9C))
=
I configured org-ref as follows
<= div class=3D"">
(setq o= rg-ref-bibliography-notes '("/Users/doyley/Dropbox/Filing_Cabinet/B/re= fs/ref_notes.org")&nbs= p;
      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")
   =   )

(setq b= ibtex-completion-bibliography  '("/Users/doyley/Dropbox/Filing_Ca= binet/B/refs/ref.bib") 
     = bibtex-completion-library-path '("~/Org-files/Notes/PDF"))
=

(setq bibtex-completio= n-notes-path "~/Org-files/Notes/ref_notes.org") 
(setq bibtex-comp= letion-pdf-symbol "=E2=8C=98")
(setq bibtex-= completion-notes-symbol "=E2=9C=8E")
<= br class=3D"">

Also enclosed is the backtrace
Thanks for your help in resolving this issue 
M

Debugger entered--Lisp error: (wrong-type-argument stringp ("= ;/Users/doyley/Dropbox/Filing_Cabinet/B/refs/pdf/"))
  file-name-as-directory(("/Users/doyley/Dropbox/Filing_Cab= inet/B/refs/pdf/"))
  doi-utils-get-bibtex-e= ntry-pdf(nil)
  funcall-interactively(doi-utils-g= et-bibtex-entry-pdf nil)
  call-interactively(doi= -utils-get-bibtex-entry-pdf record nil)
  command= -execute(doi-utils-get-bibtex-entry-pdf record)
 = helm-M-x-execute-command(doi-utils-get-bibtex-entry-pdf)
  helm-execute-selection-action-1()
  = helm-execute-selection-action()
  helm-internal((= ((name . "Emacs Commands history") (candidates . #f(compiled-func= tion () #<bytecode 0x1ffd35a88d85>)) (keymap keymap (keymap ...) keym= ap (21 . helm-M-x-universal-argument) keymap (127 . delete-backward-char) (= 27 keymap ...) (C-return . helm-cr-empty-string) keymap (tab . helm-execute= -persistent-action) (normal-state keymap "Auxiliary keymap for Normal = stat..." ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... .= .. ... ... ... ... ...) (insert-state keymap "Auxiliary keymap for Ins= ert stat..." ... ... ... ... ... ... ... ...) (\(insert\ normal\)-stat= e keymap "Auxiliary keymap for (insert nor...") (26 . helm-select= -action) (f13 lambda nil ... ...) (f12 lambda nil ... ...) (f11 lambda nil = ... ...) (f10 lambda nil ... ...) (f9 lambda nil ... ...) (f8 lambda nil ..= . ...) (f7 lambda nil ... ...) (f6 lambda nil ... ...) (f5 lambda nil ... .= ..) (f4 lambda nil ... ...) (f3 lambda nil ... ...) (f2 lambda nil ... ...)= (menu-bar keymap ...) (help keymap ...) (23 . #f(compiled-function () ... = #<bytecode 0x1ffd3929591d>)) (f1 lambda nil ... ...) (8 keymap ... ..= . ... ... ...) ...) (action . helm-type-command-actions) (persistent-action= . helm-M-x-persistent-action) (persistent-help . "Describe this comma= nd") (help-message . helm-M-x-help-message) (requires-pattern . 0) (fi= ltered-candidate-transformer helm-M-x-transformer-no-sort helm-fuzzy-highli= ght-matches) (volatile . t) (match . identity) (redisplay . identity) (noma= rk . t) (coerce . helm-symbolify) (header-line . "C-j: Describe this c= ommand (keep...") (must-match . t) (group . helm-command) (match-dynam= ic . t)) ((name . "Emacs Commands") (candidates . #f(compiled-fun= ction () #<bytecode 0x1ffd3626ae55>)) (keymap keymap (keymap ...) key= map (21 . helm-M-x-universal-argument) keymap (127 . delete-backward-char) = (27 keymap ...) (C-return . helm-cr-empty-string) keymap (tab . helm-execut= e-persistent-action) (normal-state keymap "Auxiliary keymap for Normal= stat..." ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... = ... ... ... ... ... ...) (insert-state keymap "Auxiliary keymap for In= sert stat..." ... ... ... ... ... ... ... ...) (\(insert\ normal\)-sta= te keymap "Auxiliary keymap for (insert nor...") (26 . helm-selec= t-action) (f13 lambda nil ... ...) (f12 lambda nil ... ...) (f11 lambda nil= ... ...) (f10 lambda nil ... ...) (f9 lambda nil ... ...) (f8 lambda nil .= .. ...) (f7 lambda nil ... ...) (f6 lambda nil ... ...) (f5 lambda nil ... = ...) (f4 lambda nil ... ...) (f3 lambda nil ... ...) (f2 lambda nil ... ...= ) (menu-bar keymap ...) (help keymap ...) (23 . #f(compiled-function () ...= #<bytecode 0x1ffd3929591d>)) (f1 lambda nil ... ...) (8 keymap ... .= .. ... ... ...) ...) (action . helm-type-command-actions) (persistent-actio= n . helm-M-x-persistent-action) (persistent-help . "Describe this comm= and") (help-message . helm-M-x-help-message) (requires-pattern . 0) (f= iltered-candidate-transformer helm-M-x-transformer-no-sort helm-fuzzy-highl= ight-matches) (volatile . t) (match . identity) (redisplay . identity) (nom= ark . t) (coerce . helm-symbolify) (header-line . "C-j: Describe this = command (keep...") (must-match . t) (group . helm-command) (match-dyna= mic . t))) nil "M-x " nil nil "*helm M-x*" nil nil helm= -M-x-input-history)
  apply(helm-internal ((((nam= e . "Emacs Commands history") (candidates . #f(compiled-function = () #<bytecode 0x1ffd35a88d85>)) (keymap keymap (keymap ...) keymap (2= 1 . helm-M-x-universal-argument) keymap (127 . delete-backward-char) (27 ke= ymap ...) (C-return . helm-cr-empty-string) keymap (tab . helm-execute-pers= istent-action) (normal-state keymap "Auxiliary keymap for Normal state= " ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... = ... ... ... ...) (insert-state keymap "Auxiliary keymap for Insert sta= te" ... ... ... ... ... ... ... ...) (\(insert\ normal\)-state keymap = "Auxiliary keymap for (insert normal) s...") (26 . helm-select-ac= tion) (f13 lambda nil ... ...) (f12 lambda nil ... ...) (f11 lambda nil ...= ...) (f10 lambda nil ... ...) (f9 lambda nil ... ...) (f8 lambda nil ... .= ..) (f7 lambda nil ... ...) (f6 lambda nil ... ...) (f5 lambda nil ... ...)= (f4 lambda nil ... ...) (f3 lambda nil ... ...) (f2 lambda nil ... ...) (m= enu-bar keymap ...) (help keymap ...) (23 . #f(compiled-function () ... #&l= t;bytecode 0x1ffd3929591d>)) (f1 lambda nil ... ...) (8 keymap ... ... .= .. ... ...) (20 . helm-toggle-resplit-and-swap-windows) (C-tab . undefined)= (67108897 . helm-toggle-suspend-update) (3 keymap ... ... ... ... ... ... = ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...) (67108987 . he= lm-enlarge-window) (67108989 . helm-narrow-window) ...) (action . helm-type= -command-actions) (persistent-action . helm-M-x-persistent-action) (persist= ent-help . "Describe this command") (help-message . helm-M-x-help= -message) (requires-pattern . 0) (filtered-candidate-transformer helm-M-x-t= ransformer-no-sort helm-fuzzy-highlight-matches) (volatile . t) (match . id= entity) (redisplay . identity) (nomark . t) (coerce . helm-symbolify) (head= er-line . "C-j: Describe this command (keeping se...") (must-matc= h . t) (group . helm-command) (match-dynamic . t)) ((name . "Emacs Com= mands") (candidates . #f(compiled-function () #<bytecode 0x1ffd3626= ae55>)) (keymap keymap (keymap ...) keymap (21 . helm-M-x-universal-argu= ment) keymap (127 . delete-backward-char) (27 keymap ...) (C-return . helm-= cr-empty-string) keymap (tab . helm-execute-persistent-action) (normal-stat= e keymap "Auxiliary keymap for Normal state" ... ... ... ... ... = ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...) (insert-st= ate keymap "Auxiliary keymap for Insert state" ... ... ... ... ..= . ... ... ...) (\(insert\ normal\)-state keymap "Auxiliary keymap for = (insert normal) s...") (26 . helm-select-action) (f13 lambda nil ... .= ..) (f12 lambda nil ... ...) (f11 lambda nil ... ...) (f10 lambda nil ... .= ..) (f9 lambda nil ... ...) (f8 lambda nil ... ...) (f7 lambda nil ... ...)= (f6 lambda nil ... ...) (f5 lambda nil ... ...) (f4 lambda nil ... ...) (f= 3 lambda nil ... ...) (f2 lambda nil ... ...) (menu-bar keymap ...) (help k= eymap ...) (23 . #f(compiled-function () ... #<bytecode 0x1ffd3929591d&g= t;)) (f1 lambda nil ... ...) (8 keymap ... ... ... ... ...) (20 . helm-togg= le-resplit-and-swap-windows) (C-tab . undefined) (67108897 . helm-toggle-su= spend-update) (3 keymap ... ... ... ... ... ... ... ... ... ... ... ... ...= ... ... ... ... ... ... ... ...) (67108987 . helm-enlarge-window) (6710898= 9 . helm-narrow-window) ...) (action . helm-type-command-actions) (persiste= nt-action . helm-M-x-persistent-action) (persistent-help . "Describe t= his command") (help-message . helm-M-x-help-message) (requires-pattern= . 0) (filtered-candidate-transformer helm-M-x-transformer-no-sort helm-fuz= zy-highlight-matches) (volatile . t) (match . identity) (redisplay . identi= ty) (nomark . t) (coerce . helm-symbolify) (header-line . "C-j: Descri= be this command (keeping se...") (must-match . t) (group . helm-comman= d) (match-dynamic . t))) nil "M-x " nil nil "*helm M-x*"= ; nil nil helm-M-x-input-history))
  helm((((name= . "Emacs Commands history") (candidates . #f(compiled-function (= ) #<bytecode 0x1ffd35a88d85>)) (keymap keymap (keymap ...) keymap (21= . helm-M-x-universal-argument) keymap (127 . delete-backward-char) (27 key= map ...) (C-return . helm-cr-empty-string) keymap (tab . helm-execute-persi= stent-action) (normal-state keymap "Auxiliary keymap for Normal stat..= ." ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...= ... ... ... ...) (insert-state keymap "Auxiliary keymap for Insert st= at..." ... ... ... ... ... ... ... ...) (\(insert\ normal\)-state keym= ap "Auxiliary keymap for (insert nor...") (26 . helm-select-actio= n) (f13 lambda nil ... ...) (f12 lambda nil ... ...) (f11 lambda nil ... ..= .) (f10 lambda nil ... ...) (f9 lambda nil ... ...) (f8 lambda nil ... ...)= (f7 lambda nil ... ...) (f6 lambda nil ... ...) (f5 lambda nil ... ...) (f= 4 lambda nil ... ...) (f3 lambda nil ... ...) (f2 lambda nil ... ...) (menu= -bar keymap ...) (help keymap ...) (23 . #f(compiled-function () ... #<b= ytecode 0x1ffd3929591d>)) (f1 lambda nil ... ...) (8 keymap ... ... ... = ... ...) ...) (action . helm-type-command-actions) (persistent-action . hel= m-M-x-persistent-action) (persistent-help . "Describe this command&quo= t;) (help-message . helm-M-x-help-message) (requires-pattern . 0) (filtered= -candidate-transformer helm-M-x-transformer-no-sort helm-fuzzy-highlight-ma= tches) (volatile . t) (match . identity) (redisplay . identity) (nomark . t= ) (coerce . helm-symbolify) (header-line . "C-j: Describe this command= (keep...") (must-match . t) (group . helm-command) (match-dynamic . t= )) ((name . "Emacs Commands") (candidates . #f(compiled-function = () #<bytecode 0x1ffd3626ae55>)) (keymap keymap (keymap ...) keymap (2= 1 . helm-M-x-universal-argument) keymap (127 . delete-backward-char) (27 ke= ymap ...) (C-return . helm-cr-empty-string) keymap (tab . helm-execute-pers= istent-action) (normal-state keymap "Auxiliary keymap for Normal stat.= .." ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ..= . ... ... ... ...) (insert-state keymap "Auxiliary keymap for Insert s= tat..." ... ... ... ... ... ... ... ...) (\(insert\ normal\)-state key= map "Auxiliary keymap for (insert nor...") (26 . helm-select-acti= on) (f13 lambda nil ... ...) (f12 lambda nil ... ...) (f11 lambda nil ... .= ..) (f10 lambda nil ... ...) (f9 lambda nil ... ...) (f8 lambda nil ... ...= ) (f7 lambda nil ... ...) (f6 lambda nil ... ...) (f5 lambda nil ... ...) (= f4 lambda nil ... ...) (f3 lambda nil ... ...) (f2 lambda nil ... ...) (men= u-bar keymap ...) (help keymap ...) (23 . #f(compiled-function () ... #<= bytecode 0x1ffd3929591d>)) (f1 lambda nil ... ...) (8 keymap ... ... ...= ... ...) ...) (action . helm-type-command-actions) (persistent-action . he= lm-M-x-persistent-action) (persistent-help . "Describe this command&qu= ot;) (help-message . helm-M-x-help-message) (requires-pattern . 0) (filtere= d-candidate-transformer helm-M-x-transformer-no-sort helm-fuzzy-highlight-m= atches) (volatile . t) (match . identity) (redisplay . identity) (nomark . = t) (coerce . helm-symbolify) (header-line . "C-j: Describe this comman= d (keep...") (must-match . t) (group . helm-command) (match-dynamic . = t))) nil "M-x " nil nil "*helm M-x*" nil nil helm-M-x-i= nput-history)
  apply(helm ((((name . "Emacs= Commands history") (candidates . #f(compiled-function () #<bytecod= e 0x1ffd35a88d85>)) (keymap keymap (keymap ...) keymap (21 . helm-M-x-un= iversal-argument) keymap (127 . delete-backward-char) (27 keymap ...) (C-re= turn . helm-cr-empty-string) keymap (tab . helm-execute-persistent-action) = (normal-state keymap "Auxiliary keymap for Normal state" ... ... = ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...= ) (insert-state keymap "Auxiliary keymap for Insert state" ... ..= . ... ... ... ... ... ...) (\(insert\ normal\)-state keymap "Auxiliary= keymap for (insert normal) s...") (26 . helm-select-action) (f13 lamb= da nil ... ...) (f12 lambda nil ... ...) (f11 lambda nil ... ...) (f10 lamb= da nil ... ...) (f9 lambda nil ... ...) (f8 lambda nil ... ...) (f7 lambda = nil ... ...) (f6 lambda nil ... ...) (f5 lambda nil ... ...) (f4 lambda nil= ... ...) (f3 lambda nil ... ...) (f2 lambda nil ... ...) (menu-bar keymap = ...) (help keymap ...) (23 . #f(compiled-function () ... #<bytecode 0x1f= fd3929591d>)) (f1 lambda nil ... ...) (8 keymap ... ... ... ... ...) (20= . helm-toggle-resplit-and-swap-windows) (C-tab . undefined) (67108897 . he= lm-toggle-suspend-update) (3 keymap ... ... ... ... ... ... ... ... ... ...= ... ... ... ... ... ... ... ... ... ... ...) (67108987 . helm-enlarge-wind= ow) (67108989 . helm-narrow-window) ...) (action . helm-type-command-action= s) (persistent-action . helm-M-x-persistent-action) (persistent-help . &quo= t;Describe this command") (help-message . helm-M-x-help-message) (requ= ires-pattern . 0) (filtered-candidate-transformer helm-M-x-transformer-no-s= ort helm-fuzzy-highlight-matches) (volatile . t) (match . identity) (redisp= lay . identity) (nomark . t) (coerce . helm-symbolify) (header-line . "= ;C-j: Describe this command (keeping se...") (must-match . t) (group .= helm-command) (match-dynamic . t)) ((name . "Emacs Commands") (c= andidates . #f(compiled-function () #<bytecode 0x1ffd3626ae55>)) (key= map keymap (keymap ...) keymap (21 . helm-M-x-universal-argument) keymap (1= 27 . delete-backward-char) (27 keymap ...) (C-return . helm-cr-empty-string= ) keymap (tab . helm-execute-persistent-action) (normal-state keymap "= Auxiliary keymap for Normal state" ... ... ... ... ... ... ... ... ...= ... ... ... ... ... ... ... ... ... ... ... ...) (insert-state keymap &quo= t;Auxiliary keymap for Insert state" ... ... ... ... ... ... ... ...) = (\(insert\ normal\)-state keymap "Auxiliary keymap for (insert normal)= s...") (26 . helm-select-action) (f13 lambda nil ... ...) (f12 lambda= nil ... ...) (f11 lambda nil ... ...) (f10 lambda nil ... ...) (f9 lambda = nil ... ...) (f8 lambda nil ... ...) (f7 lambda nil ... ...) (f6 lambda nil= ... ...) (f5 lambda nil ... ...) (f4 lambda nil ... ...) (f3 lambda nil ..= . ...) (f2 lambda nil ... ...) (menu-bar keymap ...) (help keymap ...) (23 = . #f(compiled-function () ... #<bytecode 0x1ffd3929591d>)) (f1 lambda= nil ... ...) (8 keymap ... ... ... ... ...) (20 . helm-toggle-resplit-and-= swap-windows) (C-tab . undefined) (67108897 . helm-toggle-suspend-update) (= 3 keymap ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ..= . ... ... ... ...) (67108987 . helm-enlarge-window) (67108989 . helm-narrow= -window) ...) (action . helm-type-command-actions) (persistent-action . hel= m-M-x-persistent-action) (persistent-help . "Describe this command&quo= t;) (help-message . helm-M-x-help-message) (requires-pattern . 0) (filtered= -candidate-transformer helm-M-x-transformer-no-sort helm-fuzzy-highlight-ma= tches) (volatile . t) (match . identity) (redisplay . identity) (nomark . t= ) (coerce . helm-symbolify) (header-line . "C-j: Describe this command= (keeping se...") (must-match . t) (group . helm-command) (match-dynam= ic . t))) nil "M-x " nil nil "*helm M-x*" nil nil helm-= M-x-input-history))
  helm(:sources (((name . &qu= ot;Emacs Commands history") (candidates . #f(compiled-function () #<= ;bytecode 0x1ffd35a88d85>)) (keymap keymap (keymap ...) keymap (21 . hel= m-M-x-universal-argument) keymap (127 . delete-backward-char) (27 keymap ..= .) (C-return . helm-cr-empty-string) keymap (tab . helm-execute-persistent-= action) (normal-state keymap "Auxiliary keymap for Normal stat..."= ; ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... .= .. ... ...) (insert-state keymap "Auxiliary keymap for Insert stat...&= quot; ... ... ... ... ... ... ... ...) (\(insert\ normal\)-state keymap &qu= ot;Auxiliary keymap for (insert nor...") (26 . helm-select-action) (f1= 3 lambda nil ... ...) (f12 lambda nil ... ...) (f11 lambda nil ... ...) (f1= 0 lambda nil ... ...) (f9 lambda nil ... ...) (f8 lambda nil ... ...) (f7 l= ambda nil ... ...) (f6 lambda nil ... ...) (f5 lambda nil ... ...) (f4 lamb= da nil ... ...) (f3 lambda nil ... ...) (f2 lambda nil ... ...) (menu-bar k= eymap ...) (help keymap ...) (23 . #f(compiled-function () ... #<bytecod= e 0x1ffd3929591d>)) (f1 lambda nil ... ...) (8 keymap ... ... ... ... ..= .) ...) (action . helm-type-command-actions) (persistent-action . helm-M-x-= persistent-action) (persistent-help . "Describe this command") (h= elp-message . helm-M-x-help-message) (requires-pattern . 0) (filtered-candi= date-transformer helm-M-x-transformer-no-sort helm-fuzzy-highlight-matches)= (volatile . t) (match . identity) (redisplay . identity) (nomark . t) (coe= rce . helm-symbolify) (header-line . "C-j: Describe this command (keep= ...") (must-match . t) (group . helm-command) (match-dynamic . t)) ((n= ame . "Emacs Commands") (candidates . #f(compiled-function () #&l= t;bytecode 0x1ffd3626ae55>)) (keymap keymap (keymap ...) keymap (21 . he= lm-M-x-universal-argument) keymap (127 . delete-backward-char) (27 keymap .= ..) (C-return . helm-cr-empty-string) keymap (tab . helm-execute-persistent= -action) (normal-state keymap "Auxiliary keymap for Normal stat...&quo= t; ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... = ... ... ...) (insert-state keymap "Auxiliary keymap for Insert stat...= " ... ... ... ... ... ... ... ...) (\(insert\ normal\)-state keymap &q= uot;Auxiliary keymap for (insert nor...") (26 . helm-select-action) (f= 13 lambda nil ... ...) (f12 lambda nil ... ...) (f11 lambda nil ... ...) (f= 10 lambda nil ... ...) (f9 lambda nil ... ...) (f8 lambda nil ... ...) (f7 = lambda nil ... ...) (f6 lambda nil ... ...) (f5 lambda nil ... ...) (f4 lam= bda nil ... ...) (f3 lambda nil ... ...) (f2 lambda nil ... ...) (menu-bar = keymap ...) (help keymap ...) (23 . #f(compiled-function () ... #<byteco= de 0x1ffd3929591d>)) (f1 lambda nil ... ...) (8 keymap ... ... ... ... .= ..) ...) (action . helm-type-command-actions) (persistent-action . helm-M-x= -persistent-action) (persistent-help . "Describe this command") (= help-message . helm-M-x-help-message) (requires-pattern . 0) (filtered-cand= idate-transformer helm-M-x-transformer-no-sort helm-fuzzy-highlight-matches= ) (volatile . t) (match . identity) (redisplay . identity) (nomark . t) (co= erce . helm-symbolify) (header-line . "C-j: Describe this command (kee= p...") (must-match . t) (group . helm-command) (match-dynamic . t))) := prompt "M-x " :buffer "*helm M-x*" :history helm-M-x-in= put-history)
  helm-M-x-read-extended-command([ok= r LaTeX-length-list ansi-color-apply-overlay-face epg-context-signers refte= x-untie-multifile-symbols 0 rng-what-schema vc-git-stash-snapshot TeX-comma= nd-Biber reftex-default-bibliography pdf-cache-renderpage-highlight pdf-cac= he-pagelinks semantic-tag-write-list-slot-value markdown-match-bold evil-re= place-alist LaTeX-item-tabular* helm-type-timers-actions biblio--selection-= insert template nsm-permanent-host-settings doom-modeline-eldoc-bar mixal g= nus-summary-recenter ob-ipython--create-repl cl-print--preprocess semantic-= -tag-unlink-list-from-buffer org-fragtog-ignore-predicates ellipses wicon v= c-git-conflicted-files 0 TeX-auto-local semanticdb-project-database-file-ch= ild-p evil-visual-exchange-corners Load\ snippets\.\.\. \\prime sp-message = test-command container \' ---5 helm-grep-mode-jump-other-window-forward org= -ref-notes-directory ---8 sessions evil-collection-js2-mode-setup \. define= -mode-local-override evil-replace-state-local-map \\bullet ...])
  helm-M-x(nil)
  funcall-interac= tively(helm-M-x nil)
  call-interactively(helm-M-= x nil nil)
  command-execute(helm-M-x)


=
------
Marvi= n M. Doyley Ph.D.  
Professor of Electrical&nbs= p;and Computer Engineering,
Professor of Biomedical = ;Engineering, and of Imaging Sciences,
University of Roc= hester
518 Computer Science Building Rochester NY 1= 4627 
Tel: 585-275-3774 Fax: 585-273-4919
Website: http://www.ece.rochester.edu/projects/doyley_lab/&nbs= p;  =  







3D""= --Apple-Mail=_5D3E1BA6-465F-4527-A3DD-77820A605421-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id +BUjGvxPSGAqXgAA0tVLHw (envelope-from ) for ; Wed, 10 Mar 2021 04:50:04 +0000 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 6FfrFfxPSGAEbAAAB5/wlQ (envelope-from ) for ; Wed, 10 Mar 2021 04:50:04 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx2.migadu.com (Postfix) with ESMTPS id 9D66616CEA for ; Wed, 10 Mar 2021 05:50:03 +0100 (CET) Received: from localhost ([::1]:47266 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lJqnK-00022R-9h for larch@yhetil.org; Tue, 09 Mar 2021 23:50:02 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54968) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lJqmw-00022J-2P for emacs-orgmode@gnu.org; Tue, 09 Mar 2021 23:49:38 -0500 Received: from out1.migadu.com ([2001:41d0:2:863f::]:54326) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lJqml-0003Bc-Dw for emacs-orgmode@gnu.org; Tue, 09 Mar 2021 23:49:37 -0500 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kyleam.com; s=key1; t=1615351763; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=bnXy/mfrFSlpR4ncDoCMp9/DG16LvJT65RrtoYYz/m4=; b=L60fDJzGEX4CRVK98o/ED7YODL2xmhU5f/jbssw2yRe6xdBErAlQQlaaDnyaXHr7Oh7faw kAZs+XuE+Yp8xV0VkM5y9nI2OMgbz197m+KWLJghym5DepSYhFeUVdH5gTyCxraND0wx6Y WK51FD+zBqn1/PMXBrV9X18Exyvd0kcXTUOVAtWwE3MHztXR5IVwuS7P1l69FsbXh0X/Xt n0ZfVs0ETbAVGoi5USRZ6C66QX5lwvcihNMQlBSOr+Q2ZXH6aFQeJruOAEdJESbZOvKBc8 HqiF92bdV8W0MSOcf2f6posJwFThpCrkrgZUvj4abIdihRohDvxMonWkx3+t4g== From: Kyle Meyer To: "Marvin M. Doyley" Subject: Re: Problem with org-ref In-Reply-To: References: Date: Tue, 09 Mar 2021 23:49:21 -0500 Message-ID: <87o8fraa0e.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Migadu-Auth-User: kyle@kyleam.com Received-SPF: pass client-ip=2001:41d0:2:863f::; envelope-from=kyle@kyleam.com; helo=out1.migadu.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: John Kitchin , emacs-orgmode@gnu.org, Zhe Lei Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1615351804; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=bnXy/mfrFSlpR4ncDoCMp9/DG16LvJT65RrtoYYz/m4=; b=MP17amom9nAc40m0JDllSbw+bB2hn7svwQtNOW9isvTQ2A1m52Yn2mMb1cixdrIZMxbFEw S+bNDEaqk8rNEU9m51afBK5nqQS4GbZmOVRSUXCaBTHsR1netAo4QUkcZWDR2atGI1nk8n 1jNn95TKZNtW2FJEh/yjifb3k/DBzURZKqbwrlCGKuKT717CI1ZpxD9MwfUTJVTXlCtcdS zOpT64jeCgfH47ttxqpbw2fwKADZcelPF6UseqTb3krEgkbbM5yWQn2Rmxn7iGDk71xEJI UrCKQO7tPVIzD5G4xVxAvPg1X4aEVtvuyWmfHW0b9j4oo+4dF77jhYQzwNa5Hg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615351804; a=rsa-sha256; cv=none; b=NK6Pyk56+QDCbvY/Bh2NLY+2GsIBukK5mbS5seHxbyLMcgvD5zsBSzIHzlTPZH/bmT8Lql UwT40UFpq/F9aIumdqsiQMZZUx5b6yhk0h4rlGIeldxxIs5u3qIZB6gnBk/IK7taMnkep3 vQKjEFdUpPBTm6BsG45vOk1rAfaUhSM14gfKRlflnQgq5YucJtLu9UmGVwwLi/vNQagYH6 k2dQ+IJbecEOBXGEZVXRFxg1ZUqYigaJOSFajHRIUb4iKVtWQdk3RfYLhdYXkteyEPgTHK kaRb9Hr+96I8xmygwBbzz5cJ78Kwj/ZQaUXYdhD3AEBYk8tazFMU93Gvx2dW3w== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=kyleam.com header.s=key1 header.b=L60fDJzG; dmarc=none; spf=pass (aspmx2.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -1.38 Authentication-Results: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=kyleam.com header.s=key1 header.b=L60fDJzG; dmarc=none; spf=pass (aspmx2.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 9D66616CEA X-Spam-Score: -1.38 X-Migadu-Scanner: scn0.migadu.com X-TUID: iX2rNNYM/tp+ Marvin M. Doyley writes: > Hi there, > > When I use crossref-add-bibtex-entry it download the BibTeX entry but can= not download the associated pdf. > I get the following error (wrong-type-argument stringp ("/Users/doyley/D= ropbox/Filing_Cabinet/B/refs/pdf/=E2=80=9C)) > > I configured org-ref as follows > > (setq org-ref-bibliography-notes '("/Users/doyley/Dropbox/Filing_Cabinet/= B/refs/ref_notes.org")=20 > org-ref-default-bibliography '("/Users/doyley/Dropbox/Filing_Cabine= t/B/refs/ref.bib")=20 > org-ref-pdf-directory '("/Users/doyley/Dropbox/Filing_Cabinet/B/ref= s/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/doyle= y/Dropbox/Filing_Cabinet/B/refs/pdf/")) > file-name-as-directory(("/Users/doyley/Dropbox/Filing_Cabinet/B/refs/pd= f/")) > 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/")