I am trying to add a bibliography to my document. I create a test.tex:
\documentclass[twocolumn, a4paper]{ieicejsp}
\bibliographystyle{plain}
\begin{document}
Cite\cite{GDE3}
\bibliography{bibliography}
\end{document}
I run the bibtex
command and get a
test.aux=>text.bbl
Done!
Then I try to run the LaTeX
and get an error:
'undefined control sequence \begin{thebibliography}{1}'
But the contents of text.bbl
file are:
\begin{thebibliography}{1}
\bibitem{GDE3}
Saku Kukkonen and Jouni Lampinen.
\newblock Gde3: the third evolution step of generalized differential evolution.
\newblock In {\em IEEE Congress on Evolutionary Computation}, pages 443--450,
2005.
\end{thebibliography}
Please, what am i missing?
EDIT1:
The exact error message was:
This is pTeXk, Version 3.141592-p3.1.11 (euc) (Web2C 7.5.4)
%&-line parsing enabled.
(./test.tex
pLaTeX2e <2006/11/10>+0 (based on LaTeX2e <2009/09/24> patch level 0)
(./ieicejsp.cls
Document Class: ieicejsp
) (./test.aux) (./test.bbl
! Undefined control sequence.
<argument> \refname
\@mkboth {\refname }{\refname }
l.1 \begin{thebibliography}{1}
EDIT2:
As Joseph Wright suggested, adding
\newcommand*{\refname}{Bibliography}
just before the
\begin{document}
command solved the problem. Thank you! You have no idea how much you helped me.
Best Answer
Maybe your ieicejsp doesn't support this? I tried your file with report and it worked (after doing multiple runs with pdflatex, so it could resolve the dependencies).
Note: Had to use another template, because I don't have ieicejsp installed.