[Tex/LaTex] Unable to add bibliography to llncs file

bibliographieslncs

I am getting the following error while trying to run Latex, followed by Bibtex, and then twice Latex. I am doing this on Texmaker on Linux.

! Undefined control sequence.
<argument> \bibname
\@mkboth {\sl \uppercase {\bibname }}{\sl \uppercase {\b...
l.1 \begin{thebibliography}{10}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
! Undefined control sequence.
<argument> \@listctr
l.5 \bibitem{altman2005ranking}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
! You can't use `\relax' after \the.
<recently read> \c@
l.5 \bibitem{altman2005ranking}
I'm forgetting what you said and using zero instead.
! Undefined control sequence.
<argument> \@listctr

However, the PDF generates, with the following issues.

  1. The Biliography is added to the PDF, but in an improper format. I am trying to use the square bracket numbered system, where the references appear in text as "[2]", and, under references, as "[2] Altman, A., Tennenholtz, M.: Ranking systems: the pagerank axioms. In:
    Proceedings of the 6th ACM conference on Electronic commerce. pp. 1–8. ACM
    (2005)"
    In my case, however, the references are just pushed into the PDF as below, without any numbering:
    enter image description here
  2. Additionally, the biblio items are not referenced in the text correctly. All the references are showing up as "(0)"
    enter image description here

My Latex file is as follows:

\documentclass[a4paper,twoside]{llncs}

\usepackage{calc}
\usepackage{amssymb}
\usepackage{amstext}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{multicol}
\usepackage{pslatex}
\usepackage{apalike}
\usepackage{algorithm}
\usepackage{listings}
\usepackage{spverbatim}
\usepackage{enumitem}
\usepackage{breqn}
\usepackage{fancyvrb}
\usepackage{fixltx2e}
\usepackage{bera}

\begin{document}

 Text goes here. References call by \cite{altman2005ranking}.

\section{References}
\bibliographystyle{splncs03}
\bibliography{example}
\end{document}

The bbl file is as follows:

\begin{thebibliography}{10}
\providecommand{\url}[1]{\texttt{#1}}
\providecommand{\urlprefix}{URL }

\bibitem{altman2005ranking}
Altman, A., Tennenholtz, M.: Ranking systems: the pagerank axioms. In: Proceedings of the 6th ACM conference on Electronic commerce. pp. 1--8. ACM (2005)
\end{thebibliography}

Finally, the last few lines of the aux file are:

\bibdata{example}
\@writefile{toc}{\contentsline {section}{\numberline {5}References}{8}}
\bibcite{altman2005ranking}{0}
\bibcite{amato2013decentralized}{0}
\bibcite{amato2014planning}{0}
\bibcite{gmytrasiewicz2004interactive}{0}
\bibcite{gosavi2014simulation}{0}
\bibcite{howard1960dynamic}{0}
\bibcite{kaelbling1998planning}{0}
\bibcite{kaelbling1996reinforcement}{0}
\bibcite{parkes2013dynamic}{0}
\bibcite{pineau2003point}{0}
\bibcite{puterman2014markov}{0}
\bibcite{sondik1971optimal}{0}
\bibcite{tennenholtz2004dynamic}{0}
\bibcite{undurti2010online}{0}
\bibcite{wiering2007computing}{0}

The bib file has a sample attached below:

@inproceedings{amato2013decentralized,
title={Decentralized control of partially observable Markov decision processes},
author={Amato, Christopher and Chowdhary, Girish and Geramifard, Alborz and {\"U}re, N Kemal and Kochenderfer, Mykel J},
booktitle={52nd IEEE Conference on Decision and Control},
pages={2398--2405},
year={2013},
organization={IEEE}
}

@inproceedings{pineau2003point,
title={Point-based value iteration: An anytime algorithm for POMDPs},
author={Pineau, Joelle and Gordon, Geoff and Thrun, Sebastian and others},
year={2003}
}

Has anyone else faced these issues? Any help would be appreciated!

Best Answer

I was facing this issue because of this line:

\usepackage{apalike}

Since I'm relatively new to Latex, I think what was happening here was that, this package was colliding with the bibliography templates and style files provided by the LNCS zip package. Removing the same allowed the PDF to be generated without any errors.

I thank @ChristianHupfer for his suggestion in the comments of this post.

Related Question