[OS X TeX] Tracking undefined references

Maarten Sneep maarten.sneep at xs4all.nl
Sun Mar 26 11:47:30 CEST 2006


On 26 Mar 2006, at 9:53, delanoy at math.univ-lyon1.fr wrote:

> when LaTeX gives a warning "There were undefined references", is  
> there a
> simple way to go directly to the places where those undefined  
> references are ? This
> would be useful especially for large source files.

Open the log-file, search for "undefined" and at least you'll get a  
line-number. If you then search for the matching parentheses the  
warning is in, you'll find the file (warning faked example):

(chapter2.tex [4] [5]
Warning: undefined reference `fig:blah' on line 54
[6] [7])

etc.

Yes, an automated way to find these would be nice. Alpha does it, no  
doubt, and I guess it can be scripted. But this is where you can find  
the information.

Maarten
------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the macostex-archives mailing list