From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/67417 Path: news.gmane.org!not-for-mail From: Alasdair McAndrew Newsgroups: gmane.comp.tex.context Subject: Re: Wrong cross references Date: Sat, 26 Mar 2011 09:26:01 +1100 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0766574957==" X-Trace: dough.gmane.org 1301091990 19925 80.91.229.12 (25 Mar 2011 22:26:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 25 Mar 2011 22:26:30 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Mar 25 23:26:22 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 1Q3FSY-0007IM-3F for gctc-ntg-context-518@m.gmane.org; Fri, 25 Mar 2011 23:26:22 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AD31ECAB1A; Fri, 25 Mar 2011 23:26:02 +0100 (CET) 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 virKCKLHZybK; Fri, 25 Mar 2011 23:26:02 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B060BCAB61; Fri, 25 Mar 2011 23:25:59 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9F227CAB1A for ; Fri, 25 Mar 2011 23:25:58 +0100 (CET) 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 zksUZ1w8wDA0 for ; Fri, 25 Mar 2011 23:25:47 +0100 (CET) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id 33749CAB61 for ; Fri, 25 Mar 2011 23:25:47 +0100 (CET) Original-Received: from mail-yw0-f41.google.com (mail-yw0-f41.google.com [209.85.213.41]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p2PMQ2On015680 for ; Fri, 25 Mar 2011 23:26:03 +0100 Original-Received: by yws5 with SMTP id 5so796203yws.14 for ; Fri, 25 Mar 2011 15:26:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=SJ0uG2wfWfSmxGFq0+Sz8mYcc6FggHU0SbhpKYmbYw0=; b=KGw7qtWW3Tlu4iA7NCvecmwqyuRZe85V5eESXm9BWmY2Fk7RruyvBR6iWmzuOJIn2d NFLBB9dQVB7lNFAC+UMeCTxmJGaRb9hSgmR00TH1FUTItRd2YTadKL0OwLgZo0ikYpuf gnRGqTKEzIFxJkGSCfC/A9kuKLgSMnm9slF7I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Ivxusc41eBqZoHng8gqGkwmh0LsxGBd3EttvZhmnyST/TmsPMtS576a/N69A9VI+ai yNmciOsoFDMTHRNGaGzktftcTts5VLJnGHCkPzFpRuUSY0433bUmy4hBbERO6iU4j4p5 mk+l7b5jn58uIBrsDIi2Z5I9BMGjFdIF+gS6Y= Original-Received: by 10.91.199.6 with SMTP id b6mr1412493agq.4.1301091961636; Fri, 25 Mar 2011 15:26:01 -0700 (PDT) Original-Received: by 10.90.118.17 with HTTP; Fri, 25 Mar 2011 15:26:01 -0700 (PDT) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.213.41; 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: 05Enyq2Kj - 1ea06155c10c - 20110325 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 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:67417 Archived-At: --===============0766574957== Content-Type: multipart/alternative; boundary=001636b42ece318805049f5614a7 --001636b42ece318805049f5614a7 Content-Type: text/plain; charset=ISO-8859-1 Sorted it - turns out I inadvertently used the same label for a formula and a figure. I've made all my labels distinct and the problem has gone. Sorry for wasting your bandwidth. -Alasdair On Sat, Mar 26, 2011 at 9:09 AM, Aditya Mahajan wrote: > On Sat, 26 Mar 2011, Alasdair McAndrew wrote: > > I have seen this discussed once somewhere else, but I can't find it. >> Here's >> the problem: two equations in my document have been given numbers (1) and >> (2), but the references to them come up as (2) and (3) respectively. I >> have >> used: >> >> \definereferenceformat [ineqn] [left=(,right=),text=equation] >> >> to obtain their references. >> >> What is going on here? >> > > A minimal example is needed. > > > And is there an easier way to obtain parentheses >> around a reference number, so that "we see from equation (6)" instead of >> "we >> see from equation 6"? >> > > \definereferenceformat is the correct way to do this. > > Aditya > > ___________________________________________________________________________________ > 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 > > ___________________________________________________________________________________ > -- Blog: http://amca01.wordpress.com Web: http://bit.ly/Alasdair Facebook: http://www.facebook.com/alasdair.mcandrew --001636b42ece318805049f5614a7 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sorted it - turns out I inadvertently used the same label for a formula and= a figure.=A0 I've made all my labels distinct and the problem has gone= .=A0 Sorry for wasting your bandwidth.

-Alasdair

On Sat, Mar 26, 2011 at 9:09 AM, Aditya Mahajan <adityam@umich.edu> wrote:
=
On Sat, 26 Mar 2011, Alasdair McAndrew wrote:

I have seen this discussed once somewhere else, but I can't find it. = =A0Here's
the problem: two equations in my document have been given numbers (1) and (2), but the references to them come up as (2) and (3) respectively. =A0I h= ave
used:

\definereferenceformat [ineqn] [left=3D(,right=3D),text=3Dequation]

to obtain their references.

What is going on here?

A minimal example is needed.


=A0And is there an easier way to obtain parentheses
around a reference number, so that "we see from equation (6)" ins= tead of "we
see from equation 6"?

\definereferenceformat is the correct way to do this.

Aditya
___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage =A0: http://= www.pragma-ade.nl / http://tex.aanhet.net
archive =A0: http://foundry.supelec.fr/projects/contextrev/
wiki =A0 =A0 : http:= //contextgarden.net
___________________________________________________________________________= ________



--
Blog: http://amca01.wordpress.com
Web:=A0 http://bit.ly/Alasdair
Facebook: http://www.facebook.com/alas= dair.mcandrew
--001636b42ece318805049f5614a7-- --===============0766574957== 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 ___________________________________________________________________________________ --===============0766574957==--