Currently using Bibdesk to organise my references and various associated documents. I would like if possible to use the great addons Helm-bibtex and org-ref.
To specify the location of the PDF associated with a reference it is possible to us two settings in Helm-bibtex; "helm-bibtex-library-path" which will look in the specified directory for a file based on the citation key and the "helm-bibtex-pdf-field" which will get the path to the pdf from the specified field in the bibtex entry. Currently Bibdesk stores information about attached files in fields called "Bdsk-File-#" where the hash is a numeric, using Base64-encoded pathnames.
My question is, has anybody got the intergration between Bibdesk bibtex files and Helm-bibtex working using the Base64-encoded pathnames? There is a perl script on github for decoding the pathname from the Bibdesk fields https://github.com/pmcarlton/BibDesk2Zotero_attachments that is used by Zotero for conversion of a Bibdesk bibtex file. Would it be possible to use this as basis to extract the information required?
I could use the "helm-bibtex-library-path" setting instead, but I would have to override the "helm-bibtex-find-pdf-in-library" function, to accommodate my custom sub-directory structure (based on author name and year) and Bibdesk's requirement that the filename be unique.
I would prefer to use the pdf field in the bibtex file, but my Lisp knowledge is limited, so any help or a point in the right direction would be appreciated to get either solution working.
Update #1 Although I have not figured out an answer to the above question, there does seem to be a work around using BibDesk Applescripts. From the Bibdesk website, http://sourceforge.net/p/bibdesk/wiki/BibDesk_Applescripts/, Christiaan Hofman kindly provides Applescripts to automatically update the Local-Url field with the first linked file. It is possible to amend these scripts to have the Local-Url field contain all the linked files in a format similar to Mendeley.