ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Albrecht Kauffmann <alkauffm@rz.uni-potsdam.de>
Subject: \reference[mark]{(\the\equationnumber)}
Date: Tue, 13 Jan 2004 13:56:55 +0100 (MET)	[thread overview]
Message-ID: <Pine.GSO.4.30.0401131346360.24069-100000@persius.rz.uni-potsdam.de> (raw)
In-Reply-To: <6.0.1.1.2.20040108093150.01f9aec0@server-1>

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

  parent reply	other threads:[~2004-01-13 12:56 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-07 22:28 midaligned tabulate? Patrick Gundlach
2004-01-08  8:03 ` Willi Egger
2004-01-08  8:36   ` Hans Hagen
2004-01-08  8:52     ` Patrick Gundlach
2004-01-08  9:58       ` Hans Hagen
2004-01-13 12:56     ` Albrecht Kauffmann [this message]
2004-01-13 13:05       ` \reference[mark]{(\the\equationnumber)} Tobias Burnus
2004-01-13 13:28         ` \reference[mark]{(\the\equationnumber)} Albrecht Kauffmann
     [not found]       ` <Pine.GSO.4.30.0401131346360.24069-100000@persius.rz.uni-po tsdam.de>
2004-01-13 16:56         ` \reference[mark]{(\the\equationnumber)} Hans Hagen
2004-01-08  8:37   ` midaligned tabulate? Patrick Gundlach

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.GSO.4.30.0401131346360.24069-100000@persius.rz.uni-potsdam.de \
    --to=alkauffm@rz.uni-potsdam.de \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).