Re: [NTG-context] Referencing a figure

2013-01-22 Thread Devendra Ghate
On 01/22/2013 03:48 PM, Philipp Gesang wrote: Hi! · I have written a macro to include figures. I pass the label name and the caption as the two arguments. But when I try to refer to the figure, it shows ??. Surely, my macro does not define the figure label as intended by me. What am

Re: [NTG-context] Referencing a figure

2013-01-22 Thread Philipp Gesang
Hi! · > I have written a macro to include figures. I pass the label name and > the caption as the two arguments. But when I try to refer to the figure, > it shows ??. > > Surely, my macro does not define the figure label as intended by me. > What am I doing wrong? If you specify only on

[NTG-context] Referencing a figure

2013-01-22 Thread Devendra Ghate
I have written a macro to include figures. I pass the label name and the caption as the two arguments. But when I try to refer to the figure, it shows ??. Surely, my macro does not define the figure label as intended by me. What am I doing wrong? Also, while trying to debug this problem, I tried

Re: [NTG-context] Referencing a Figure

2010-04-29 Thread Albrecht Kauffmann
On Thu, 29 Apr 2010, Troy Henderson wrote: > I am trying to reference a figure, and the results are not as > expected. Here is my snippet. > > \placefigure[fig:myfigure]{A beautiful circle}{ >\startMPcode > draw fullcircle scaled 72; >\stopMPcode > } > Isn't Figure \in[fig:myfigur

Re: [NTG-context] Referencing a Figure

2010-04-29 Thread Troy Henderson
Beautiful. Thanks. ___ 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-ad

Re: [NTG-context] Referencing a Figure

2010-04-29 Thread Aditya Mahajan
On Thu, 29 Apr 2010, Troy Henderson wrote: I am trying to reference a figure, and the results are not as expected. Here is my snippet. \placefigure[fig:myfigure]{A beautiful circle}{ \placefigure[][fig:myfigure]{...}{...} \startMPcode draw fullcircle scaled 72; \stopMPcode } Isn't

[NTG-context] Referencing a Figure

2010-04-29 Thread Troy Henderson
I am trying to reference a figure, and the results are not as expected. Here is my snippet. \placefigure[fig:myfigure]{A beautiful circle}{ \startMPcode draw fullcircle scaled 72; \stopMPcode } Isn't Figure \in[fig:myfigure] beautiful? When this code renders, the text says "Isn't Fi