I'm using the Lecture Note in Computer Science (LNCS) LaTeX template, and I'm in trouble with their bibliography system.
I'm referencing a Book, but it doesn't show the information of the bib, it just prints the author and title.
Here is the template according with LNCS style:
1.Author Surname, A.: Title. Publisher, City (Year Published).
The bib file:
@book{ref.the.book,
author = {Lastname, A.},
title = {Title},
date = {1995},
editor = {Book editor},
location = {City, Country},
}
And the TeX file:
\documentclass[10pt, a4paper]{llncs}
\begin{document}
Lorem ipsum dolor sit amet, consectetur\cite{ref.the.book} adipiscing elit, sed do eiusmod .
\bibliographystyle{splncs03}
\bibliography{bibfilename}
\end{document}
I get this:
- Lastname, A.: Title
But, i would like get:
- Lastname, A.: Title. Publisher, City (1995).
Does anyone have any ideas why it's happening?
Best Answer
The problem lies in your
bibtex
file field names, which are incorrect if you are usingbibtex
to process your bibliography (which you are). As you note in the comments, you had been using the bibliography manager included in TeXStudio, which allows you to choose betweenbiblatex
andbibtex
.biblatex
supports a much richer data model than traditionalbibtex
and so if you use those fields you are basically stuck with usingbiblatex
. On the other handbiblatex
supports all the legacybibtex
fields, so unless you absolutely require the power thatbiblatex
provides it's more practical to keep with thebibtex
fields since they are usable with bothbiblatex/biber
andnatbib/bibtex
. See the following questions for more details:If you do need the power of
biblatex
but you also need to use the standard format as well,biber
can be used intool
mode to convert from one format to another. See:Since you are using the LLNCS class, you cannot use
biblatex
fields, but you must use standardbibtex
fields:The correct field name for the date is "Year".
The correct field name for the publisher location is "Address"
And book entries have "Publisher" as a required field.
And if you look at the warnings that
bibtex
shows when you compile this you can see the issues clearly: