From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/69897 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: math: `\ref` does not work for referencing formulae (ConTeXt ver: 2011.06.19) Date: Sun, 10 Jul 2011 22:55:49 +0200 Message-ID: <8E20B9A7-CA13-4602-89B4-3D0241403EC1@googlemail.com> References: <1310327721.25942.25.camel@mattotaupa> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: multipart/mixed; boundary="===============0424583509==" X-Trace: dough.gmane.org 1310331375 11523 80.91.229.12 (10 Jul 2011 20:56:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 10 Jul 2011 20:56:15 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Jul 10 22:56:11 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Qg12x-0003ZO-2F for gctc-ntg-context-518@m.gmane.org; Sun, 10 Jul 2011 22:56:11 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 06908CAE38; Sun, 10 Jul 2011 22:56:10 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id LFmcABXsdtCI; Sun, 10 Jul 2011 22:56:07 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1070DCAE2A; Sun, 10 Jul 2011 22:56:07 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 845F4CAE2A for ; Sun, 10 Jul 2011 22:56:05 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id de3QbDnfp54h for ; Sun, 10 Jul 2011 22:55:54 +0200 (CEST) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id 217A9CAE1E for ; Sun, 10 Jul 2011 22:55:54 +0200 (CEST) Original-Received: from mail-fx0-f42.google.com (mail-fx0-f42.google.com [209.85.161.42]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p6AKtrrb009579 for ; Sun, 10 Jul 2011 22:55:53 +0200 Original-Received: by fxe23 with SMTP id 23so3336698fxe.15 for ; Sun, 10 Jul 2011 13:55:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=from:mime-version:content-type:subject:date:in-reply-to:to :references:message-id:x-mailer; bh=/X9KCv8XhmmgS0Nmovnrsof0MaAAk8YLJfFefiQrIRo=; b=W4RpLkQmV+0nyodf/eGuwh0TJ7LKjvSVh5UYB/9/lYZ3HahoUchNp/y+tDruMx7kdJ S1Qii26PkIAuvjlKjA7gzzR4avQ7kExq3JW6zUzc4dm2znFZHwa+BIqOAQNhEidI6vEt 4pbNt3FRK43nk2uZm7nwhSMKq9VH2j3GsCASY= Original-Received: by 10.223.127.195 with SMTP id h3mr935279fas.135.1310331353208; Sun, 10 Jul 2011 13:55:53 -0700 (PDT) Original-Received: from [192.168.2.31] (p5B0EEC17.dip.t-dialin.net [91.14.236.23]) by mx.google.com with ESMTPS id w15sm8888688faj.47.2011.07.10.13.55.51 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 10 Jul 2011 13:55:52 -0700 (PDT) In-Reply-To: <1310327721.25942.25.camel@mattotaupa> X-Mailer: Apple Mail (2.1084) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.161.42; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0eF6kTRTt - 9763b1f1d0cd - 20110710 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:69897 Archived-At: --===============0424583509== Content-Type: multipart/alternative; boundary=Apple-Mail-6--835815572 --Apple-Mail-6--835815572 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Am 10.07.2011 um 21:55 schrieb Paul Menzel: > Dear ConTeXt folks, >=20 >=20 > using >=20 > ConTeXt ver: 2011.06.19 14:17 MKIV fmt: 2011.6.21 int: = english/english >=20 > the following minimal example taken from the Wiki page [1] does not = work > as expected. >=20 > --- 8< --- minimal example --- >8 --- > \starttext > The famous result (and again) is given by > \placeformula[formulalabel] > \startformula > c^2 =3D a^2 + b^2. > \stopformula > And now we can refer to formula \ref[formulalabel] (ref). > And now we can refer to formula \in[formulalabel] (in). > \stoptext > --- 8< --- minimal example --- >8 --- >=20 > `\ref` does not seem to find the label for the equation. `\in` does = work. >=20 > [1] http://wiki.contextgarden.net/Math/Display#Referencing_formulae The example is wrong, \ref expects two arguments: = http://wiki.contextgarden.net/Reference/en/ref Wolfgang --Apple-Mail-6--835815572 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii
Dear = ConTeXt folks,


using

=        ConTeXt  ver: 2011.06.19 = 14:17 MKIV  fmt: 2011.6.21  int: english/english

the = following minimal example taken from the Wiki page [1] does not = work
as expected.

--- 8< --- minimal example --- >8 = ---
\starttext
The famous result (and again) is given = by
\placeformula[formulalabel]
\startformula
c^2 =3D a^2 + = b^2.
\stopformula
And now we can refer to formula = \ref[formulalabel] (ref).
And now we can refer to formula = \in[formulalabel] (in).
\stoptext
--- 8< --- minimal example = --- >8 ---

`\ref` does not seem to find the label for the = equation. `\in` does work.

[1] h= ttp://wiki.contextgarden.net/Math/Display#Referencing_formulae

The example is wrong, \ref expects two = arguments: http://wiki.contex= tgarden.net/Reference/en/ref

Wolfgang
= --Apple-Mail-6--835815572-- --===============0424583509== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============0424583509==--