## LaTeX forum ⇒ BibTeX, biblatex and biber ⇒ Bibliography Error caused by Citation

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Per W
Posts: 3
Joined: Wed Nov 27, 2013 11:51 am

### Bibliography Error caused by Citation

Hello!

Now I am using TeXworks for writing. I have problems with the bibliography. A typical error looks like the following

At first there is a warning.
LaTeX Warning: Citation holm1967' on page 13 undefined on input line 919.

Later come an error.
! Undefined control sequence.l.28 \bibitem[\protect\citename                                {Holm, }1967]{holm1967}

I use these commands to create it.
\bibliographystyle{authordate1} \bibliography{article1}

I have created another article with a IEEE template, and it gets correct. In this -bbl filethis. I have
\bibitem{holm1967}R.~Holm,

What can be the error?

I have experience with LaTeX throughout the years.

Tags:

Johannes_B
Site Moderator
Posts: 4103
Joined: Thu Nov 01, 2012 4:08 pm
Are you able to prepare a minimal working example, showing the relevant packages? This way we can reproduce the exact cause of problems.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

Per W
Posts: 3
Joined: Wed Nov 27, 2013 11:51 am
Here come the files that I use. They have been shortened, still the problem remains. I used the templates from Inderscience Publishers, specifically the 9.5x6.5 LaTeX format.
Attachments
test.tex
A shortened version of the document.
test.bib
A shortened version of the bibliography.
singlecol-new.cls
The class file used.

Johannes_B
Site Moderator
Posts: 4103
Joined: Thu Nov 01, 2012 4:08 pm
A MWE would be the following:

\begin{filecontents}{\jobname.bib}@Book{holm1967,   author = 	 {Holm, Ragnar},   ALTeditor = 	 {},   title = 	 {Electric contacts, theory and applications},   publisher = 	 {Springer-Verlag},   year = 	 {1967},   OPTkey = 	 {},   OPTvolume = 	 {},   OPTnumber = 	 {},   OPTseries = 	 {},   OPTaddress = 	 {},   edition = 	 {4th},   OPTmonth = 	 {},   OPTnote = 	 {},   OPTannote = 	 {}}\end{filecontents}\documentclass{article} \begin{document}for example by using the theories in~\cite{holm1967}. The biggest variation is in $k$,   \bibliographystyle{authordate1}\bibliography{\jobname} \end{document}

The bibliographystyle authordate1 gives the corrupted bibitem. Authordate1.bst is a very old file, i do not recommend it's usage.

Instead, you could choose the modern package biblatex in conjunction with biber. Many styles are available.

\begin{filecontents}{\jobname.bib}@Book{holm1967,   author = 	 {Holm, Ragnar},   ALTeditor = 	 {},   title = 	 {Electric contacts, theory and applications},   publisher = 	 {Springer-Verlag},   year = 	 {1967},   OPTkey = 	 {},   OPTvolume = 	 {},   OPTnumber = 	 {},   OPTseries = 	 {},   OPTaddress = 	 {},   edition = 	 {4th},   OPTmonth = 	 {},   OPTnote = 	 {},   OPTannote = 	 {}}\end{filecontents}%\documentclass{singlecol-new}\documentclass{article}\usepackage[style=authoryear]{biblatex}\addbibresource{\jobname.bib}\begin{document}for example by using the theories in~\cite{holm1967}. The biggest variation is in $k$,  \printbibliography\end{document}`
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

Per W
Posts: 3
Joined: Wed Nov 27, 2013 11:51 am
Thank you for the suggestions, Johannes_B!

After trying further I found out that singlecol-new caused problems. Strange that it was provided by the editorial. I found another class to use.