[NTG-context] Where is ifforwardreference defined?

2006-12-31 Thread Mike Bird
\somewhere sometimes prints the wrong text. To track down the problem I tried to find the definition for \ifforwardreference. I can see where \iffowardreference is declared to be a \newif but I can't find where the algorithm is defined: $ grep -r ifforwardreference .

Re: [NTG-context] Where is ifforwardreference defined?

2006-12-31 Thread Taco Hoekwater
Mike Bird wrote: Does anyone know where \ifforwardreference is defined? The logic is inside \dogetreferenceelements (core-ref.tex) Look for \forwardreferencetrue and \forwardreferencefalse. Best, Taco ___ ntg-context mailing list ntg-context@ntg.nl

Re: [NTG-context] Where is ifforwardreference defined?

2006-12-31 Thread Sanjoy Mahajan
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