I still do not get what the problem is. And the bibtex I get from doi2bib is 
essentially the same as what BibDesk gets.

Christiaan

> On 24 Sep 2021, at 11:27, Fischlin Andreas <[email protected]> 
> wrote:
> 
> Here an AppleScript that may help in using doi2bib
> 
> (*
> 
> Name
> GoTo doi2bib
> 
> Purpose
> Access the services of doi2bib with a minimum of effort, e.g. if a DOI is 
> already in the clipboard get the BibTeX entry right away or you are asked to 
> provide the DOI to this script
>      
> Installation  
> Copy this script to any AppleScript holding folder, e.g. 
> '~/Library/Application Support/BibDesk/Scripts/'
> 
> Usage Run this script, preferably the DOI of the wanted reference already in 
> the clipboard, and then click button 'Copy Bib to Clipboard'. Paste the 
> clipboard into any BibTeX manager such as BibDesk.
> 
> Programing
> Andreas Fischlin, [email protected] 
> <mailto:[email protected]>, 24.Sep.2021
> 
>  
> History
> 
>   af
> 24.Sep.2021 v 0.9: First implementation (works under OS X 10.14.6 Mojave with 
> Safari as the default browser)
>  
> *)
> 
> property enterKey : (ASCII character of 3) -- ENTER is ASCII 3 (MacOS Roman)
> property theURL : "https://www.doi2bib.org/ <https://www.doi2bib.org/>"
> 
> on run {}
> set theDOI to (get the clipboard as string)
> if theDOI does not start with "10." then
> set theDOI to my EnterString("DOI?")
> end if
> if theDOI is not "" then
> set the clipboard to theDOI
> open location theURL
> delay 1
> tell application "System Events"
> keystroke "v" using {command down}
> end tell
> 
> tell application "System Events"
> keystroke enterKey
> end tell
> 
> -- Copy Bib to Clipboard needs to be done manually
> end if
> end run
> 
> 
> (****************)
> (* Generic routines *)
> (****************)
> 
> on EnterString(promptTxt)
> set Input to display dialog promptTxt with title "Text Entry" with icon note 
> default answer "" buttons {"Cancel", "OK"} default button 2 giving up after 
> 295
> return text returned of Input as string
> end EnterString
> 
> 
> Andreas
> 
> 
> ETH Zurich
> Prof. em. Dr. Andreas Fischlin
> IPCC Vice-Chair WGII
> Systems Ecology - Institute of Biogeochemistry and Pollutant Dynamics
> CHN E 24
> Universitaetstrasse 16
> 8092 Zurich
> SWITZERLAND
> 
> [email protected] <mailto:[email protected]>
> www.sysecol.ethz.ch/people/andreas.fischlin.html 
> <http://www.sysecol.ethz.ch/people/andreas.fischlin.hml>
> 
> +41 44 633-6090 phone
> +41 44 633-1136 fax
> +41 79 595-4050 mobile
> 
>              Make it as simple as possible, but distrust it!
> ________________________________________________________________________
> 
> 
> 
> 
> 
> 
> 
> 
> 
>> On 23/09/2021, at 20:15, Dr Eberhard W Lisse <[email protected] 
>> <mailto:[email protected]>> wrote:
>> 
>> I find that
>> 
>> 
>> https://www.doi2bib.org/#/doi <https://www.doi2bib.org/#/doi>
>> 
>> works very well for single citations.
>> 
>> On 2021-09-23 19:46 , Christiaan Hofman wrote:
>>>> On 23 Sep 2021, at 19:36, Trevor Jenkins <[email protected]> wrote:
>>>> 
>>>> Downloaded the (auto-generated) citation from
>>>> https://journals.plos.org/plosmedicine/article?id=10.1371/journal.pmed.1003763
>>>> 
>>>> The import into BibDesk was successful but the TeX Preview breaks
>>>> with various error depending upon what fields are “adjusted”.
>>>> 
>>>> 
>>>> Regards, Trevor.
>>>> 
>>>> <>< Re: deemed!
>>> That is more a question about tex generation.  If the data is
>>> problematic for the tex generation, you should update the data.  That
>>> is the main function of the tex preview: to check that it is valid for
>>> tex.  So I am not precisely sure what your question is.
>>> Christiaan

_______________________________________________
Bibdesk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-users

Reply via email to