I'm currently writing a thesis using latex and bibtex and want to cite some arXiv articles with a bibtex entry like
@article{attention,
author = {Dzmitry Bahdanau and
Kyunghyun Cho and
Yoshua Bengio},
title = {Neural Machine Translation by Jointly Learning to Align and Translate},
journal = {arXiv preprint arXiv:1409.0473},
year = {2014}
}
When citing this entry, the resulting output is [Bahdanau & Cho + 14] D. Bahdanau, K. Cho, Y. Bengio. Neural machine translation by jointly learning to align and translate. arXiv preprint arXiv:1409.0473, Vol., 2014.
which has an empty Volume entry. How can I suppress this volume entry for arXiv? I think, one solution might be to change the .bst file, which I got as part of a template for my thesis. Here is a part of the bst file, which I think might be relevant:
FUNCTION {format.vol.num.pages}
{ "Vol." volume tie.or.space.connect % field.or.null
number empty$
'skip$
{ ", No." number tie.or.space.connect *
volume empty$
{ "there's a number but no volume in " cite$ * warning$ }
'skip$
if$
}
if$
pages empty$
'skip$
{ duplicate$ empty$
{ pop$ format.pages }
{ ", pp.~" * pages n.dashify * }
if$
}
if$
}
Unfortunately, I don't know, how the .bst files work. To be clear, I do not want to remove all Volume entries, but only in the case, that the entry is missing I want nothing to appear, instead of an empty Vol.
archivePrefix = "arXiv", eprint = {1409.0473},
? Otherwise please post a compilable minimal working example with bibliography (MWEB) – samcarter_is_at_topanswers.xyz Sep 19 '16 at 13:55archivePrefix = "arXiv", eprint = {1409.0473}
because then, with a bit of extra work, you can add hyperlinks to the arxiv. You don't say what bst file you are trying to edit, but the function that you want to change is almost certainlyformat.vol.num.pages
(look forVol.
). Assuming so, if you paste it above I can tell you tomorrow how to change it. – user30471 Sep 19 '16 at 14:11