+1
Declined

Support for links to arXiv preprints

Greg Christian 9 year бұрын жаңартылды 9 year бұрын 4
A useful feature would be to add support for links to preprints stored on arXiv (and perhaps elsewhere too, but arXiv is all I'm familiar with). Typically these are handled with the 'eprint' field in bibtex:

eprint = {1503.06191}

Would I would love to see is a feature wherein if there is a populated eprint field like the one above, it generates a hyperlink below the main entry, similar to the one generated by a populated doi field, i.e.

doi arXiv bibtex

with the 'arXiv' text hyperlinked to http://arxiv.org/abs/1503.06191 based on the 'eprint' field in the example above.

Answer

Answer
Declined
You can easily accomplish this right now, by adding another url field to your bibtex entries:

...
  url_arXiv = {http://arxiv.org/abs/1503.06191},
...
This will appear just the way you wanted, with "arXiv" as the link text.

I know this is not quite the same as literally using the eprint field already in arXiv bibtex files, but it's only a very minor modification.

We implemented a special case for DOI because it is being used by dblp and we want that to be automatic (you can use dblp records for bibbase withough having to extract/update a bibtex file first). I don't think arXiv has an API for that yet. If or when they do, I'd be happy to interpret their bibtex entries fully as well.

Answer
Declined
You can easily accomplish this right now, by adding another url field to your bibtex entries:

...
  url_arXiv = {http://arxiv.org/abs/1503.06191},
...
This will appear just the way you wanted, with "arXiv" as the link text.

I know this is not quite the same as literally using the eprint field already in arXiv bibtex files, but it's only a very minor modification.

We implemented a special case for DOI because it is being used by dblp and we want that to be automatic (you can use dblp records for bibbase withough having to extract/update a bibtex file first). I don't think arXiv has an API for that yet. If or when they do, I'd be happy to interpret their bibtex entries fully as well.

Okay, thanks for the information. That's easy enough to add to my bibtex entries. However, I tried what you suggest and the links to arxiv show up as a picture of a box with a diagonal arrow (same as the plain url field), rather than the 'arXiv' text. Any idea why?
Oh yes, good point. You can select to use text for this link rather than a generic icon by adding this to your css:

a[href^="http://arxiv.org"] .bibbase_icon { display: none; }
a[href^="http://arxiv.org"] .bibbase_icon_text { display: inline-block; }
Let me know if that doesn't work.