<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
 
 <title>Homepage of Michael Goerz - bibdesk</title>
 <link href="http://users.physik.fu-berlin.de/~mgoerz/feeds/tags/bibdesk" rel="self"/>
 <link href="http://users.physik.fu-berlin.de/~mgoerz/"/>
 <updated>2013-03-14T16:35:44+01:00</updated>
 <author>
   <name>Michael Goerz</name>
   <email>goerz@physik.fu-berlin.de</email>
 </author>

 
 <entry>
   <title>Adding Local-File fields to BibDesk created BibTeX File</title>
   <link href="blog/2009/08/adding-local-file-fields-to-bibdesk-created-bibtex-file/"/>
   <updated>2009-08-25T00:00:00+02:00</updated>
   <id>blog/2009/08/adding-local-file-fields-to-bibdesk-created-bibtex-file</id>
   <content type="html">&lt;p&gt;BibTeX files that were created with the BibDesk program on the Mac store links to local files as smart references, which has a lot of benefits:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;To be precise, it&amp;#8217;s a base64 encoded (keyed) archived dictionary containing a relative path and a file alias (an alias stores a full path and a file ID). It is designed to support a large range of storage procedures, as it can find a file by relative path, absolute path, and file ID (in that order). This means that you can&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;move/rename the .bib file (as it stores full paths)&lt;/li&gt;

&lt;li&gt;move/rename a linked file (as it stores file IDs)&lt;/li&gt;

&lt;li&gt;move the .bib file and linked files together (as it stores relative paths)&lt;/li&gt;

&lt;li&gt;copy the .bib file and linked files togther, even between different machines (as it stores relative paths) &lt;a href=&#39;http://n2.nabble.com/Path-implications-when-sharing-bib-files-with-Bdsk-File-1-entries-td661338.html#a662004&#39;&gt;(bibdesk user mailing list)&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;

&lt;p&gt;This works perfectly as long as you stay on a Mac. However, if you have to share the BibTeX file with someone who cannot run BibDesk, it may be useful to add some human-readable information as well. For this, I&amp;#8217;ve written a small script that is an adaption of the code found at &lt;a href=&#39;http://bibdesk-users.661331.n2.nabble.com/Loss-of-local-file-links-td2209604.html&#39;&gt;http://n2.nabble.com/Loss-of-local-file-links-td2209604.html&lt;/a&gt; It adds a Local-File field to the BibTeX file with the relative path of the referenced file.&lt;/p&gt;

&lt;p&gt;&lt;a href=&#39;http://gist.github.com/goerz/5157942&#39;&gt;http://gist.github.com/goerz/5157942&lt;/a&gt;&lt;/p&gt;
&lt;script src=&#39;http://gist.github.com/180474.js&#39;&gt; &lt;/script&gt;</content>
 </entry>
 
 
</feed>