Matthew Heun via Bibdesk-users writes:
it says that "A document must always produce the same URL even if the document is
moved renamed or edited." The script below will not meet that requirement if the
cite key changes. Should we rather use the DOI of an entry as the primary URL, if the
DOI is present? (The scheme you suggested (using the cite key) could be a backup scheme
when no DOI is present.)
Based on my experience, I would say that it's the responsibility of the user to maintain the cite key as a permanent identifier. In other words, the user shouldn't change the cite key, and it should be fine to use the cite key as a permanent identifier. If the user changes the cite key, they are going to have bigger problems than Hook not working: all the LaTeX commands that use that cite key won't work, any other x-bdsk://citekey URLs you've created won't work, etc. Just don't change the cite key and you'll be fine. You should set up a standard cite key format at the start and use it until you die. That's my experience (though I haven't died yet).
OK. You have convinced me ..
Matt, one more tip: it's also the user's responsibility to think about which
cite keys are in which BibTeX databases. A couple of weeks ago someone asked
on this list why an x-bdsk://citekey URL was not working. Christiaan
recommended saving the BibTeX database again, and that fixed the issue. But
if you use the same cite key in multiple BibTeX databases, the
x-bdsk://citekey URL will point (I think) to whichever database you last
saved in BibDesk. And if you move to a new computer, or to a new user
account on the same computer, you will need to re-save the BibTeX
database(s) in BibDesk for the x-bdsk://citekey URLs to work again. So that
is something to keep in mind. BibDesk saves the relevant metadata files for
the cite keys (at least on my system) at
~/Library/Caches/Metadata/edu.ucsd.cs.mmccrack.bibdesk/
Nathan
_______________________________________________
Bibdesk-users mailing list
Bibdesk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-users