I've downloaded the official IEEE LaTeX template but am having some trouble adding references in bibtex format.
For instance if I wanted to cite and reference this article, given as:
@article{Khoe:1994:CML:2288694.2294265,
author = {Khoe, G. -D.},
title = {Coherent multicarrier lightwave technology for flexible capacity networks},
journal = {Comm. Mag.},
issue_date = {March 1994},
volume = {32},
number = {3},
month = mar,
year = {1994},
issn = {0163-6804},
pages = {22--33},
numpages = {12},
url = {http://dx.doi.org/10.1109/35.267438},
doi = {10.1109/35.267438},
acmid = {2294265},
publisher = {IEEE Press},
address = {Piscataway, NJ, USA},
}
My attempt
- Created
references.bib
- Populated it with the above reference
- Uncommented the
\usepackage{cite}
from the IEEE template - Adding
~\cite{Khoe:1994:CML:2288694.2294265}
to a random section Inserting this text just above
% An example of a floating figure using the graphicx package.
\bibliography{references}{} \bibliographystyle{plain}
Error
! LaTeX Error: Something's wrong--perhaps a missing \item.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.3 \end{thebibliography}
?
\bibliography
takes only one argument (the name(s) of the bib file(s)), not two. Also, be sure to delete all aux files left over from previous compilations of your main .tex file before running latex, bibtex, latex, and latex once more.bibtex.org
, so isn't it by definition official?! -- is in fact not official. For one, the site is not affiliated in any way with Oren Patashnik, the creator of BibTeX. Another dead give-away is that the code examples given onbibtex.org
feature an embarrassing number of errors. Don't be misled by the fact that somebody was able to capture the domain namebibtex.org
.