[Tex/LaTex] Automatically look up arXiv reference information

arxivbibliographies

Does any editor or *TeX front-end provide the following feature?

Given an arXiv preprint number, say 1234.5678, automatically produce the relevant bibtex entry. This could be done for instance by looking up the webpage http://arxiv.org/abs/1234.5678 whose source contains something like

<meta name="citation_title" content="Interesting facts about sequences of digits" />
<meta name="citation_author" content="A. Bethe" />
<meta name="citation_author" content="F. Gamov" />
<meta name="citation_date" content="2034/12/24" />
<meta name="citation_online_date" content="2034/12/25" />

I'm open to other bibliography tools than bibtex. And it does not need to be at the level of the editor. Of course, this could be done within the TeX run with shell escape, but letting TeX access the internet is a massive security risk :).

Best Answer

I've written a python script that returns the corresponding bib-entry from an arxiv ID, you can find it on http://www.thamnos.de/misc/look-up-bibliographical-information-from-an-arxiv-id/ . If you save it e.g. as arxiv2bib.py, you can call it as arxiv2bib.py 1234.5678 or as arxiv2bib.py http://arxiv.org/abs/1234.5678.

Related Question