I am wondering what the recommended best way to cite arXiv preprints using bibtex is. It seems they have recently changed their auto-generated bibtex, and I would like to know what the best practice is, or if it's safe to just copy the autogenerated bibtex from "Export Bibtex Citation" link on arXiv (as recommended in for example this previous SE thread: How to cite an article from Arxiv using bibtex).
Until recently, the autogenerated bibtex entry you would get by clicking "Export Bibtex Citation" would be in the following format, using archivePrefix
, eprint
, and primaryClass
fields:
@misc{arxiv:1907.10597-oldformat,
author = {Roy Schwartz and Jesse Dodge and Noah A. Smith and Oren Etzioni},
title = {Green AI},
archiveprefix = {arXiv},
eprint = {1907.10597},
primaryclass = {cs.CY},
year = {2019}}
now it includes a DOI and URL, but does not include those archivePrefix
, eprint
, and primaryClass
fields. EDIT: This was the result of a bug, and is no longer true. See answer.
@misc{arxiv:1907.10597-newformat,
author = {Schwartz, Roy and Dodge, Jesse and Smith, Noah A. and Etzioni, Oren},
title = {Green AI},
doi = {10.48550/ARXIV.1907.10597},
url = {https://arxiv.org/abs/1907.10597},
publisher = {arXiv},
year = {2019}}
The old format made it easy to define a bibliography style to include the eprint code arXiv: 1907.10597 [cs.CY]
in the reference, like (as implemented in biblatex for example the bibstyle=authoryear
style):
Schwartz, Roy et al. (2019). Green AI. arXiv: 1907.10597 [cs.CY].
as recommended in the arXiv FAQ.
The new style doesn't contain the eprint field, so it's harder to do this (and default bibstyles will just include the doi and or url instead).
I realize this is just a question of how arXiv chooses to format their autogenerated bibtex entries, but given how prevalent these are, I wonder if there is some recommendation people have for the 'right' way to cite eprints (since they have DOIs now, should I not even want to include the eprint number, as it was in the old way?)