[Tex/LaTex] Bibliography style of LNCS – how to get it works

bibliographiesbibtexerrorslncs

I'm discovering the Lecture Note in Computer Science (LNCS) LATEX template, and I'm in trouble with their bibliography system.

When reading their documentation and example, it appears that I only have to :

1) Create a thebibliography bloc and put in references using bibitem

2) Cite the references in the content of the document.

So let's take a simple example :

%+--------------------------------------------------------------------------------------------+
%|                                         PROPERTIES                                         |
%+--------------------------------------------------------------------------------------------+
\documentclass{llncs}
\usepackage[utf8]{inputenc}
\bibliographystyle{splncs}

%+--------------------------------------------------------------------------------------------+
%|                                           HEADING                                          |
%+--------------------------------------------------------------------------------------------+
\title{A bar title.}

\author{Arthur Vaïsse-Lesteven  \inst{1}}
\institute{MAD -- University of Caen Lower-Normandy}

%+--------------------------------------------------------------------------------------------+
%|                                          DOCUMENT                                          |
%+--------------------------------------------------------------------------------------------+
\begin{document}

  \maketitle

  \begin{abstract}
    It would rocks if I succed in citing \cite{Ser:thesis} !
  \end{abstract}

  %\printbibliography

\end{document}

%+--------------------------------------------------------------------------------------------+
%|                                        BIBLIOGRAPHY                                        |
%+--------------------------------------------------------------------------------------------+
\begin{thebibliography}{1}
    \bibitem{Ser:thesis}
      Serrano L.:
      Vers une capitalisation des connaissances orientée utilisateur Extraction et structuration automatiques de l’information issue de sources ouvertes.
      University of Caen Lower-Normandy, 2014.
\end{thebibliography}

It looks like the example given in the demonstration file "llncs.dem" provided with the template, but this code fail to produce a citation. Is a package missing ? Am I totally wrong ? I do not understand why LATEX do not succeed to reference it.

I tried different commands there is the results :

[PDFLATEX]: Citation 'Ser:thesis' on page 1 undefined on input line 25.

[LATEX]: Citation 'Ser:thesis' on page 1 undefined on input line 25.

[BIBTEX]: Finished with exit code 2

Whatever I try I still only obtain a PDF containing : "It would rocks if I succed in citing [?] !"

If someone can explain how to obtain a citation that works it would be appreciated!

Thanks in advance,
Vaisse Arthur.

NB : I already saw the answer at Question mark or bold citation key instead of citation number but as BIBTEX fail, calling LATEX then BIBTEX then LATEX again do not solve my problem.

Best Answer

This works just fine :

\documentclass{llncs}
\usepackage[utf8]{inputenc}
\bibliographystyle{splncs}

\title{A bar title.}

\author{Arthur Vaïsse-Lesteven  \inst{1}}
\institute{MAD -- University of Caen Lower-Normandy}


\begin{document}

\maketitle

\begin{abstract}
 It would rocks if I succed in citing \cite{Ser:thesis} !
\end{abstract}

%\printbibliography




\begin{thebibliography}{1}
\bibitem{Ser:thesis}
  Serrano L.:
  Vers une capitalisation des connaissances orientée utilisateur Extraction et structuration automatiques de l’information issue de sources ouvertes.
  University of Caen Lower-Normandy, 2014.
\end{thebibliography}

\end{document}

The only trick is that you have to compile pdflatex twice since there is no bibtex processing.

Result :

voilà !

Related Question