Skip to content

Instantly share code, notes, and snippets.

@mlund
Last active March 25, 2018 23:31
Show Gist options
  • Save mlund/4609288 to your computer and use it in GitHub Desktop.
Save mlund/4609288 to your computer and use it in GitHub Desktop.
Convert Digital Object Identifier (DOI) to BibTeX using crosscite.org
#!/bin/bash
curl -LH "Accept: application/x-bibtex;q=1" http://dx.doi.org/$1
echo
@mlund
Copy link
Author

mlund commented Jan 23, 2013

Usage

$ doi2bib.sh 10.1021/la203078w

@article{ago_Szczepankiewicz_Linse_2012, title={The Effect of Nanoparticles on Amyloid Aggregation Depends on the Protein Stability and Intrinsic Aggregation Rate}, volume={28}, url={http://dx.doi.org/10.1021/la203078w}, DOI={10.1021/la203078w}, number={3}, journal={Langmuir}, publisher={American Chemical Society}, author={Cabaleiro-Lago, C. and Szczepankiewicz, O. and Linse, S.}, year={2012}, month={Jan}, pages={1852-1857}}

@schneiderfelipe
Copy link

Hi, I made a small script inspired by this Gist: https://github.com/dudektria/doi2bib.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment