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 Figure ?? beautiful?" How can I get the correct figure number? Thanks, Troy
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 Figure \in[fig:myfigure] beautiful?
When this code renders, the text says "Isn't Figure ?? beautiful?" How can I get the correct figure number?
When \placefigure is used with only one optional argument, the optional argument is interpreted as the placement specifier (here, left, right, top, bottom), rather than the label. Aditya
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:myfigure] beautiful?
Try \placefigure[here][fig:myfigure]{A beautiful circle}{ ... Greetings Albrecht
When this code renders, the text says "Isn't Figure ?? beautiful?" How can I get the correct figure number?
Thanks,
Troy ___________________________________________________________________________________ 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 ___________________________________________________________________________________
participants (3)
-
Aditya Mahajan
-
Albrecht Kauffmann
-
Troy Henderson