ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* defining a command
@ 2007-12-17 14:44 Roger Mason
  2007-12-17 16:02 ` Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: Roger Mason @ 2007-12-17 14:44 UTC (permalink / raw)
  To: ntg-context

Hello,

I have this definition:

\def\oneplot#1#2#3%
{\placefigure
  [here][#3]
  {\bfc #2}
  {\hfil \scale[width=10.5cm]{#1} \hfil}
}

(It is modified from an example on the wiki that takes only the first
two arguments).

I use it like this:

\oneplot
% image
% caption
% reference
{\externalfigure[Fluorita_green]}
{Fluorite cleavage}
{cleavage}

but the reference is ignored and I get ?? in the compiled document.

Could someone point out my error please?

Cheers,
Roger
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-12-18 14:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-17 14:44 defining a command Roger Mason
2007-12-17 16:02 ` Wolfgang Schuster
2007-12-18 12:54   ` Roger Mason
2007-12-18 13:54   ` Roger Mason
2007-12-18 14:11     ` Wolfgang Schuster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).