From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/61466 Path: news.gmane.org!not-for-mail From: Otared Kavian Newsgroups: gmane.comp.tex.context Subject: Re: linking to equations with leqalignno? Date: Sat, 4 Sep 2010 23:29:11 +0200 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1283635770 13253 80.91.229.12 (4 Sep 2010 21:29:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 4 Sep 2010 21:29:30 +0000 (UTC) To: vim.unix@gmail.com, mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Sep 04 23:29:26 2010 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 1Os0If-0005es-Jp for gctc-ntg-context-518@m.gmane.org; Sat, 04 Sep 2010 23:29:25 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 17261CA61C; Sat, 4 Sep 2010 23:29:24 +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 rTrzZt7z-Mh3; Sat, 4 Sep 2010 23:29:20 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2664BCA605; Sat, 4 Sep 2010 23:29:20 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AFF5DCA605 for ; Sat, 4 Sep 2010 23:29:18 +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 mXtnixYN2oGe for ; Sat, 4 Sep 2010 23:29:16 +0200 (CEST) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 0054BCA601 for ; Sat, 4 Sep 2010 23:29:15 +0200 (CEST) Original-Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com [74.125.82.45]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o84LTFKn007094 for ; Sat, 4 Sep 2010 23:29:15 +0200 Original-Received: by wwb31 with SMTP id 31so949810wwb.2 for ; Sat, 04 Sep 2010 14:29:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=Qd+rWgQClPfSwZOnuRiy38TfMZ688+x1O845nH75m8E=; b=HNRLICvOJHTY8tHTu3OqfJCUm23QX7kl3utgj8i+TIiR9NV8IQvodDy5FaHAfoio2T kwhwS42Mtfo1HvVCjGqKP/jvwbixBhooFvS6z7WrfrfMzUNp7hIrWof6SFuv93NltP2f Wpr7IlyOolon8h52+qJcA8l9Ql8kgkgDS9N1Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=SIfqA9OJ+aZUoaRJAMYLZ2WB03MuBYMHqBGbKeMHWQ9GPwa1p7Im14hye3cU4RcPB4 LDPiJwAhVd+m3s3FwU/qpPmwruA9k4DbjTN41L05QV3jPz8V95r/xJ3RJBRHQARj+gtv IF/Zw137wgyoxzaVX3bToyd1eBflFOarZD5/o= Original-Received: by 10.227.129.80 with SMTP id n16mr1350139wbs.104.1283635754731; Sat, 04 Sep 2010 14:29:14 -0700 (PDT) Original-Received: from [192.168.0.11] (mna75-3-82-66-231-76.fbx.proxad.net [82.66.231.76]) by mx.google.com with ESMTPS id a1sm2974344wbb.8.2010.09.04.14.29.12 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 04 Sep 2010 14:29:13 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1081) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.82.45; 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: 0rD2JtfhS - 607450681365 - 20100904 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 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:61466 Archived-At: Hi Pau, You should not use \leqaligno, but rather setup the location of the formula= s' numbers to the left and then use \eqalign: the following works fine: %%------------- \setupformulas[location=3Dleft] \define[1]\eqref{(\in[#1])} % this definition is optional=85 \starttext \placeformula[nohair] \startformula \eqalign{ - M^{}_{\bullet}a^{2}_{\bullet} =3D & M^{}_{2} =3D - \frac{J^{2}_{1}}{M^{}_{0}} \,, \cr - M^{}_{\bullet}a^{3}_{\bullet} =3D & J^{}_{3} =3D \frac{M^{}_{2}J^{}_{1}}{M^{}_{0}}\,. \cr } \stopformula As one may see from equation (\in[nohair]), we have\dots It is more handy to use \type{\eqref}: as one sees in equation \eqref{nohai= r}, we have\dots \stoptext %%------------- Consider also using the ConTeXt math alignment commands for which Aditya ha= s written a very nice My Way: http://dl.contextgarden.net/myway/mathalign.pdf See also: http://dl.contextgarden.net/myway/context-latex-math.pdf Best regards: OK On 4 sept. 2010, at 23:06, Pau wrote: > Hello, > = > I am a bit lost. I am using this format for an equation: > = > ----------------------------------------------------------------- > \placeformula[nohair] > \startformula > \leqalignno{ > - M^{}_{\bullet}a^{2}_{\bullet} =3D & M^{}_{2} =3D - > \frac{J^{2}_{1}}{M^{}_{0}} \,, \cr > - M^{}_{\bullet}a^{3}_{\bullet} =3D & J^{}_{3} =3D > \frac{M^{}_{2}J^{}_{1}}{M^{}_{0}}\,. \cr > } > \stopformula > ----------------------------------------------------------------- > = > but then,using \in[nohair] to link to the equation in the text of the > document does not work. > = > I get a [??] > = > I think this is related to leqalignno, because \in[] works fine without i= t. > = > What should I do in this case? > = > thanks, > = > Pau ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________