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

When I build a LaTeX code, the references to figures and tables labels are not recognized, so latex builder prints "?" in the place. And simplifying the entire text I found out that even the simple dummy document

    Some text cites Table \cite{whatever}

    \caption{my caption}\label{whatever}

generates this:

Some text cites Table [?]

Table 1: my caption


I'm using MiKTeX 2.4-64 for a couple of months, but I do not remember getting this type of errors with past versions MiKTeX versions. Would someone have a clue on how to fix this?

share|improve this question
up vote 9 down vote accepted

After processing your document, you will receive the following warning:

LaTeX Warning: Citation `whatever' on page 1 undefined on input line 3.

which gives you a hint about the cause of the problem: you are using \cite and you should be using \ref instead (the output [?] also indicates that a citation was incorrectly expected). Simply replace:

Some text cites Table \cite{whatever}


Some text cites Table~\ref{whatever}

\cite is for bibliographical citations.

share|improve this answer
I get [?] for a missing bibliography entry and ?? for a missing label. Maybe you could include that as a hint for diagnosis. – dgs Jun 5 '12 at 6:26
Oh yes, what a mistake of mine! You are totally right, thank you. – Rego Jun 6 '12 at 2:32

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.