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 <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.  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