[NTG-context] \reference[mark]{(\the\equationnumber)}
Albrecht Kauffmann
ntg-context@ntg.nl
Tue, 13 Jan 2004 13:56:55 +0100 (MET)
Hi all,
in a former paper I used
\newcount\equationnumber
\equationnumber=3D0
\def\eq{\advance\equationnumber by 1}%Formelz=E4hler erh=F6hen
\starttext
\eq\reference[a]{(\the\equationnumber)}
$$a\eqno(\the\equationnumber)$$%an equation
\eq\reference[b]{(\the\equationnumber)}
$$b\eqno(\the\equationnumber)$$%another equation
Eq. \ref[t][a] and \ref[t][b] are only simple characters, because this is
a test.
\stoptext
with the Context version 2003.9.17 this doesn't work: Only the largest
Equationnumber appears as reference text, and in the *.tui and *.tuo-file
is written "\the \equationnumber" instead of the value of
\the\equationnumber.
Would it be able to revive this mechanism?
With many thanks for any hint,
Albrecht