BibTeX, biblatex and biberbibtex under documentclass[conference]{IEEEtran}

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
hugh
Posts: 3
Joined: Tue Feb 15, 2011 1:44 am

bibtex under documentclass[conference]{IEEEtran}

Post by hugh »

Hello!

I am having trouble to create the bibliography for a IEEE conference paper.

When I work under other document classes I have not trouble at all using

\bibliographystyle{...}
\bibliography{...}

but when I change to \documentclass[conference]{IEEEtran} I get compilations errors with the line \bibliography{...}:

"! LaTeX Errer: Something's wrong--perhaps a missing \item.

See...

xxx \end{thebibliography}"

I have read IEEEtrans_bst_howto but I have not found the origen of the problem.

Could anyone help me please??

Thanks a lot in advance.
Hugo

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

bibtex under documentclass[conference]{IEEEtran}

Post by frabjous »

Please provide a minimal working example showing the problem. If I simply do:

Code: Select all

\documentclass[conference]{IEEEtran}
\begin{document}
\cite{example}
\bibliographystyle{plain}
\bibliography{sample}
\end{document}
I do not get any errors.
hugh
Posts: 3
Joined: Tue Feb 15, 2011 1:44 am

Re: bibtex under documentclass[conference]{IEEEtran}

Post by hugh »

thanks frabjous,

When I try to compile your code, I get the error. I have created sample.bib and I have put sample.bib in several locations (the same folder as the .tex file, miktex 2.7\bibtex\bib, miktex 2.7\bibtex\bib\ieeetran) but I have always obtained the same error.

If I change \documentclass[conference]{IEEEtran} by \documentclass{article} everything works fine.

I do not understand what is happening here!
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Re: bibtex under documentclass[conference]{IEEEtran}

Post by frabjous »

Try adding \listfiles as the first line of the code, and then process again, starting from scratch (i.e., delete the .aux and .bbl files beforehand), run (pdf)latex, bibtex, (pdf)latex twice more. If the problem persists, attach the complete .log, .blg and .bbl files that are generated, along with sample.bib, here. (Put them in a zip file or rename them so the forum will accept them.)
hugh
Posts: 3
Joined: Tue Feb 15, 2011 1:44 am

Re: bibtex under documentclass[conference]{IEEEtran}

Post by hugh »

It is working now!

I just run (pdf)latex and it started working. Without adding \listfiles and without deleting anything. Before, I was running LaTeX instead of pdflatex. But it makes no sense that this could have solved the problem, isn't it? I am not aware of doing anything else!! Just executed WinEdt to follow the instructions and.. miracle!

Thanks a lot for your help. I hope it will work from now on!

cheers
Post Reply