# [NTG-context] Wrong cross references

Alasdair McAndrew amca01 at gmail.com
Fri Mar 25 23:26:01 CET 2011

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

-Alasdair

On Sat, Mar 26, 2011 at 9:09 AM, Aditya Mahajan <adityam at 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.
>>  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.
>
>
> ___________________________________________________________________________________
> the Wiki!
>
> maillist : ntg-context at 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