TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My bibliography of my tex document doesn't work and I can't find out why. I created 2 books in bibTex, but if I refer to them via

 %%% Main Document
    \bibitem[Knuth98]{ComProgram} \emph{The Art of Computer Programming}

The compiler says missing item on these lines. I did it just as in the tutorial in which I found these lines. The bib file is also in the same folder as the document. I found many tutorials on google but I just don't seem to get it.

share|improve this question
up vote 2 down vote accepted

The problem is the missing argument to thebibliography, which specifies the widest label:


Note. If you are using directly the thebibliography environment, the \bibliography command is useless.

share|improve this answer
oh i didnt know it was that simple, sorry for bothering you, but thanks a lot anyway – dan Jun 3 '11 at 16:02
@dan Don't worry: I myself did sometimes the same mistake and scratched my head asking what was happening. – egreg Jun 3 '11 at 16:03

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.