Thanks, I've made these extra fixes to the scripts, they're available  
from the Wiki. I did not change the "BibTeX string" problem, as that  
is really a BD bug that has been fixed in the latest nightlies. So if  
you want to use the scripts you should use a recent nightlies or patch  
it yourself in the script (the last nightly is safe, even safer than  
the release).

Christiaan

On 28 May 2008, at 3:26 AM, Steuard Jensen wrote:

> Using Christiaan Hoffman's AppleScripts for downloading Spires and  
> arXiv
> information, I seem to have run into issues similar to those were
> reported here by Mukund Rangamani a couple of weeks ago.  Christiaan's
> suggested fix to the scripts pretty much fixed the basic issue (after
> correcting a typo: the final "s" is missing from "publications" at the
> end of the first line).
>
> But I ran into a couple of other errors, and I wanted to pass along
> fixes for them as well.  First, the issue mentioned by Mukund  
> regarding
> "theFile" is due to a typo in the current "BibDesk Download" script,
> right near the end in the "linkURL" function.  Inside the "repeat"  
> loop
> there, the variable "theFile" needs to be changed to "theURL".  (The
> confusion in the previous discussion probably arose because the error
> code 712 is used in more than one place in the script.)
>
> And second, it seems that an analogue of Christiaan's suggested fix  
> must
> also be applied in the first function of the "BibDesk Download"  
> script,
> "queryForEprintIdentifiers".  (This issue arises if you use the
> "Download BibTeX and PDF" shortcut script.)  In the final "repeat"  
> loop
> of that function, there is another instruction to make a new  
> publication
> with specified properties.  Replace the lines:
>
>    make new publication with properties ¬
>       {BibTeX string:"@article{"&arxivId&",Eprint={"&arxivId&"}}"} ¬
>          at beginning of publications
>
> with
>
>    set aNewPub to make new publication at beginning of publications
>    set BibTeX string of aNewPub to "@article{" & arxivId & ", Eprint =
> {" & arxivId & "}}"
>
> (My apologies if the second and last line immediately above gets
> unintentionally line-wrapped: I've tried to preserve the proper  
> spacing
> of the original.)
>
>
> I hope those hints are helpful to someone (possibly including  
> Christiaan
> in his next update).  If anyone is interested in knowing how to make
> these scripts work if you have BibDesk save files with relative paths
> rather than to a specified "papers folder", or on modifying the  
> filename
> analysis routines to recognize new-style arXiv numbering, I can give
> some code for that, too.
>
> Steuard Jensen
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Bibdesk-users mailing list
> Bibdesk-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bibdesk-users


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bibdesk-users mailing list
Bibdesk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-users

Reply via email to