![](https://secure.gravatar.com/avatar/565476157eb3895a9c928ffce26d988d.jpg?s=120&d=mm&r=g)
On 27 mei 2011, at 19:50, Aditya Mahajan
On Fri, 27 May 2011, Jesse Alama wrote:
Throwing an error would be one way to do this. If throwing an error is not possible, perhaps being able to customize what gets printed when an undefined reference is encountered. E.g., instead of "??", a big, annoying, impossible-to-miss mark in the margin (as one sees when working with overfull lines) or a giant red stopsign saying "UNDEFINED REFERENCE", would do just as well.
\def\dummyreference{{\red\bfd UNKNOWN REFERENCE}}
I think this is good. Undefined references can not simply be converted to errors, because then 'context' stops processing, and of course in any first run there will be undefined references, so you would never get past that if it was simply an error. But it would also help (for interactive use, at least) if context reported undefined references last, maybe even after the 'x processed pages' line. Best wishes, Taco