Re: [NTG-context] \reference[mark]{(\the\equationnumber)}

2004-01-13 Thread Hans Hagen
At 13:56 13/01/2004, you wrote:
Hi all,

in a former paper I used

\newcount\equationnumber
\equationnumber=0
\def\eq{\advance\equationnumber by 1}%Formelzähler erhöhen
\starttext
\eq\reference[a]{(\the\equationnumber)}
$$a\eqno(\the\equationnumber)$$%an equation
\expanded{\reference[a]{(\the\equationnumber)}}

or

\setupreferencing[expansion=command]

test file:

\starttext

\setupreferencing[expansion=command]

\typefile{\jobname.tuo}

\textreference[x]{\the\pageno}

\stoptext 

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \reference[mark]{(\the\equationnumber)}

2004-01-13 Thread Albrecht Kauffmann


On Tue, 13 Jan 2004, Tobias Burnus wrote:

> Hi,
>
> On Tue, Jan 13, 2004 at 01:56:55PM +0100, Albrecht Kauffmann wrote:
> > in a former paper I used
> [...]
>
> How about
>
> \placeformula[one]
> \startformula
> \eqalignno{
>a &= b & \formulanumber[one-a]{a}\cr
>c &= d & \subformulanumber[one-b]{b}\cr
> }\stopformula
>
> \in[one],  \in[one-a], \in[one-b]
>
>
> Regards,
>
> Tobias

This is the placeformula mechanism. The problem is, that I used the
described way with \the\equationnumber in my earlier papers, with hundreds
of formulas. It would be needed to rewrite them all.

Greetings,
Albrecht


> ___
> ntg-context mailing list
> [EMAIL PROTECTED]
> http://www.ntg.nl/mailman/listinfo/ntg-context
>

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \reference[mark]{(\the\equationnumber)}

2004-01-13 Thread Tobias Burnus
Hi,

On Tue, Jan 13, 2004 at 01:56:55PM +0100, Albrecht Kauffmann wrote:
> in a former paper I used
[...]

How about

\placeformula[one]
\startformula
\eqalignno{
   a &= b & \formulanumber[one-a]{a}\cr
   c &= d & \subformulanumber[one-b]{b}\cr
}\stopformula

\in[one],  \in[one-a], \in[one-b]


Regards,

Tobias
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] \reference[mark]{(\the\equationnumber)}

2004-01-13 Thread Albrecht Kauffmann
Hi all,

in a former paper I used

\newcount\equationnumber
\equationnumber=0
\def\eq{\advance\equationnumber by 1}%Formelzähler erhöhen
\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

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context