Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm working on a medium size document, with lots of citations and cross references (Latex inserts ?? where it can not find the citation or crossed reference). What is the way to find the unidentified references through latex and its generated files?

share|improve this question
    
What do you mean by "unidentified references"? Do you mean labels that are referred to, but not defined? –  mafp Jan 24 '13 at 9:44
    
@mafp The missing/misspelled citation keywords (\cite{keyword}) or reference keywords (\ref{...}). Latex inserts ?? where it can not find the citations and crossed references. –  asghar ashgari Jan 24 '13 at 10:16
    
Texmaker( but I assume all editors) give a warning for unidentified references, something like: citations "[name here]" on page [#] unidentified. This is not sufficient? –  Rick de Groot Jan 24 '13 at 10:16
    
Did you run bibtex before running LaTeX? –  Rico Jan 24 '13 at 10:19

1 Answer 1

Most LaTeX editors will provide you with a point-and-click feature to find such missing references, but the output of pdflatex will already tell you: You will see things like:

LaTeX Warning: Citation `key' on page 1 undefined on input line 42.

and

LaTeX Warning: Reference `label' on page 1 undefined on input line 42.

Those same warnings can be found in the log file of your document. E.g., by doing

grep "LaTeX Warning" mydoc.log

you will find

LaTeX Warning: Citation `key' on page 1 undefined on input line 42.
LaTeX Warning: Reference `lab' on page 1 undefined on input line 42.
LaTeX Warning: There were undefined references.
share|improve this answer

Your Answer

 
discard

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.