I'm writing an article that is supposed to be written using the IEEE Manuscript Templates for Conference Proceedings. I downloaded the latex templates from here, and used the bare_conf.tex as a template to my article tex file, myArticle.tex.
I did not remove any code (only comments), and started slowly exchanging the template content with real content. I started to work references into my article, so as the IEEEtran_HOWTO.pdf file advised me, I added the lines \bibliographystyle{IEEEtran}
\bibliography{IEEEabrv,mybibfile}
to my code, and created a .bib file, currently containing only a single item (see below).
However, when I added the \cite
command to my code, referencing the cite key of my single entry, I received the following error and warning:
! LaTeX Error: Something's wrong--perhaps a missing \item.
LaTeX Warning: Citation 'jj2' on page 2 undefined on input line 70.
LaTeX Warning: There were undefined references.
I'm trying to understand what is it that I'm doing wrong, but so far unsuccessfully. Here are all relevant details that I can think of:
My installation: My OS is Windows XP SP3. I'm using Texmaker 3.5.2 as my Tex editor, and MikTex 2.9 as my Tex compiler. The package bibtex is installed, and all my packages are updated as of today.
My working folder contains the following files:
- IEEEtran.cls (copied from the template's folder)
- IEEEabrv.bib (downloaded, thought it might be necessary)
- IEEEtran.bst (downloaded, thought it might be necessary)
- myArticle.tex
- myArticle.pdf
- myArticle.aux
- myArticle.bbl
- myArticle.blg
- myArticle.bcf
- myArticle.log
- myArticle.synctex.gz
- myArticle.run.xml
- bibi.bib
This is how my .tex file looks like:
\documentclass[conference]{IEEEtran} \hyphenation{op-tical net-works semi-conduc-tor} \begin{document} \bibliographystyle{IEEEtran} \bibliography{IEEEabrv,bibi} \title{My Article's Title} \author{\IEEEauthorblockN{****} \and \IEEEauthorblockN{****} } \maketitle \begin{abstract} The abstract goes here. \end{abstract} \IEEEpeerreviewmaketitle \section{Introduction} My intro... blah blah \cite{jj2}. \section{Conclusion} The conclusion goes here. \section*{Acknowledgment} \end{document}
My bibi.bib file:
@ARTICLE{jj2, author = {Andreas Junghanns and Jonathan Schaeffer}, title = {Sokoban: Enhancing general single-agent search methods using domain knowledge}, journal = {Artificial Intelligence}, year = {2001}, volume = {129}, pages = {219-251} }
Edit: My code after changing like percuße suggested (I still get the same error):
\documentclass[conference]{IEEEtran}
\usepackage[noadjust]{cite}
\hyphenation{op-tical net-works semi-conduc-tor}
\title{title}
\author{\IEEEauthorblockN{Researcher 2}\and
\IEEEauthorblockN{Researcher 1} }
\begin{document}
\maketitle
\begin{abstract}
The abstract goes here.
\end{abstract}
\section{Introduction}
blah blah \cite{jj2}.
\section{Conclusion}
The conclusion goes here.
\bibliographystyle{IEEEtran}
\bibliography{bibi}
\end{document}