![](https://secure.gravatar.com/avatar/b6bb720c28219294cf31d0693ed47388.jpg?s=120&d=mm&r=g)
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? 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"? Thanks Alasdair -- Blog: http://amca01.wordpress.com Web: http://bit.ly/Alasdair Facebook: http://www.facebook.com/alasdair.mcandrew
![](https://secure.gravatar.com/avatar/c5ae4f9aa0d3a9bd5376e92b322c3e50.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/b6bb720c28219294cf31d0693ed47388.jpg?s=120&d=mm&r=g)
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
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
participants (2)
-
Aditya Mahajan
-
Alasdair McAndrew