arXiv → BibDesk Script Icon

from the preprint arXiv to your BibDesk database in a single step

Download the AppleScript.

written by: Christoph Wockel and Sven-S. Porst.

Feedback: Send an e-mail.

Setup

Download the script and put it in a location where you can easily run it.
You need to download the free UnicodeChecker application for the script to work.
Read recommended setup guide »

We recommend setting the script up in the following way:
  1. Activate the Script Menu: In Mac OS X.6 this is done in the General pane of the Preferences in the AppleScript Editor application, in earlier versions of Mac OS X it can be done using the AppleScript Utility application.

  2. Place the downloaded script in the subfolder ‘Safari’ of the folder ‘Applications’ of the folder ‘Scripts’ of the folder ‘Library’ inside your home folder.

    path to the script in /Users/ssp/Library/Scripts/Applications/Safari/

    You may need to create some of these folders yourself.

  3. Create a ‘BibDesk’ folder next to the ‘Safari’ folder you placed the script in and put an alias to the script in there. [You can create an alias by dragging the file while holding the ⌘ and ⌥ keys].

    Complete setup of the script for use in Safari and BibDesk

  4. That’s it. The system’s script menu should be visible at the right hand side of the menu bar now and it should offer the ‘arXiv → BibDesk’ command in both Safari and BibDesk:

    Script Menu containing the script

Alternatively you can place the downloaded script in the subfolder ‘Scripts’ of the folder ‘BibDesk’ of the folder ‘Application Support’ of the folder ‘Library’ of your home folder. It will then become available in BibDesk’s own script menu only.

Instructions

  1. Make sure you have a bibliography file open in BibDesk and your papers folder is set in BibDesk’s Auto File preferences.
  2. Navigate to a preprint’s abstract page on the arXiv in Safari’s frontmost tab and window.
  3. Run the script by selecting it in the script menu.

If everything goes as intended you will end up with

Thanks

go to both the preprint arXiv and the BibDesk team for their great service and software respectively. Additional credit goes to Christiaan Hofman who wrote the download function the script uses. In case this script improves your life significantly, please consider donating to either of those projects.

Version History

v10 (2009-08-12)
Stop setting the publication’s »BibTeX string« property and use the »import« command instead to work in BibDesk 1.3.22.
v9 (2009-03-17)
Handle quotation marks in abstracts more gracefully (to avoid BibTeX warnings for the resulting entry).
v8 (2009-03-10)
Handle old article IDs with a colon (e.g. arXiv:q-alg) properly.
v7 (2008-10-22)
Delete temporary files (rather than moving them to the Trash which irritatingly gives the Finder’s »trashed« sound).
v6 (2008)
Stopped failing on old maths papers without a . in their ID.
v5 (2008)
Saves HTML to disk before passing it to the perl script to avoid escaping problems.
v4 (2008)
Runs shell script with proper escapes, asks before overwriting files.
v3 (2008)
Adds Christoph’s perl script to parse arXiv page into a BibTeX entry.
v2 (2008)
Updated for new style arXiv IDs using citebase and the linked file/URL fields.
v1 (2004)
Initial version ca 2004 using the UC Davis arXiv front.

Sven-S. Porst