\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 .
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
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