I've noticed a weird behavior in the generated list of references.
Bibliography included like:
\bibliographystyle{apalike}
\bibliography{path/to/bib}
No weird packages included (but maybe my template does?). I'm definitely not using natbib (grep -r natbib
in project folder doesn't return anything). I build the bibliography with bibtex.
.bib:
@inproceedings{Akrour,
author = {Akrour, Riad and Tateo, Davide and Peters, Jan},
booktitle = {1st Workshop on Deep Continuous-Discrete Machine Learning},
organization = {TU Darmstadt},
title = {{Towards Reinforcement Learning of Human Readable Policies}},
year = {2019}
}
@inproceedings{Akrour2019,
address = {Long Beach, California, USA},
author = {Akrour, Riad and Pajarinen, Joni and Neumann, Gerhard and Peters, Jan},
booktitle = {Proceedings of the 36th International Conference on Machine Learning},
pages = {181--190},
publisher = {PMLR},
title = {{Projections for approximate policy iteration algorithms}},
volume = {97},
year = {2019}
}
Generated .bbl:
\bibitem[Akrour et~al., 2019a]{Akrour2019}
Akrour, R., Pajarinen, J., Neumann, G., and Peters, J. (2019a).
\newblock {Projections for approximate policy iteration algorithms}.
\newblock In {\em Proceedings of the 36th International Conference on Machine Learning}, volume~97, pages
181--190, Long Beach, California, USA. PMLR.
\bibitem[Akrour et~al., 2019b]{Akrour}
Akrour, R., Tateo, D., and Peters, J. (2019b).
\newblock {Towards Reinforcement Learning of Human Readable Policies}.
\newblock In {\em 1st Workshop on Deep Continuous-Discrete Machine Learning}, TU Darmstadt.
Notice the publication year in the parentheses in [Akrour et al., 2019a] Akrour, R., Pajarinen, J., Neumann, G., and Peters, J. (2019a).
I think it should only be (2019)
, shouldn't it? How do I achieve that? Or can it be some weirdness in the template I use?
apalike
. If you loadnatbib
you will get the correct output (no label in[...]
) but the year will still have a and b, because if you are abbreviating multiple authors to just the first author, the citation call out will require the a and b and therefore the year in the bibliography will too. – Alan Munn Apr 30 '20 at 1:03[]
is okay. The letter in()
is not okay. – Martin Pecka Apr 30 '20 at 1:10natbib
loaded to see the correct output forapalike
. – Alan Munn Apr 30 '20 at 1:13\usepackage{natbib}
, but I only got tons of errors likeArgument of \org@@citex has an extra }. ...sing the action. \relax }}{23}{figure.3.2}
. I tried to fix it with\renewcommand*\cite[1]{\citet{#1}}
, but that did not help. – Martin Pecka Apr 30 '20 at 1:47bibtex
, or TeX at all, it's how any author year system is designed to work: by design, the citation callouts (i) must be unique and (ii) must match the bibliography items. So if you are abbreviating author names in the callouts to first author + et al. then the 'a' and 'b' labels must appear to disambiguate (satisfying (i)) and must also appear in the bibliography (satisfying (ii)). If you spelled out the authors in full in all citations, then you wouldn't require the 'a' and 'b'. – Alan Munn Apr 30 '20 at 2:21