![](https://secure.gravatar.com/avatar/b16ca16bcbc474a1ba15813999e212da.jpg?s=120&d=mm&r=g)
31 Dec
2006
31 Dec
'06
10:10 p.m.
grep -r ifforwardreference .
That finds only the \newif and uses of the new if. To find the algorithm, you want egrep -r 'forwardreference(false|true)' . because the assignments are done by \forwardreferencetrue and \forwardreferencefalse (a property of the TeX macro language, so not specific not ConTeXt). -Sanjoy `Not all those who wander are lost.' (J.R.R. Tolkien)