Dear ConTeXters,
I am counting occurence of some macro in the text. Problem is when this
macro is inside \bTABLE (and may be somewhere else). Due to try passes
the increment is counter is incremented more then once and the result is
multiplied.
It is possible to implement some \everytrypass in which user can (e.g.)
null incrementing? Or there is some another solution?
Thanks
Vit
Minimal example:
-----------------------------------------------
\newcount\C
\def\doIncrement{\global\advance\C by1\relax}
% \def\nullIncrement{\let\doIncrement\relax}
% \appendtoks \nullIncrement to \everytrypass
\starttext
\bTABLE
\bTR\bTD Counter\doIncrement\eTD\eTR
\eTABLE
\message{ <