ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \setupMPvariables in \startMPpage
@ 2005-12-26 21:26 David Arnold
  2005-12-26 23:01 ` Willi Egger
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: David Arnold @ 2005-12-26 21:26 UTC (permalink / raw)



All,

Why doesn't this work?

%output=pdf

\startuseMPgraphic{usquare}
   draw unitsquare scaled 4cm;
\stopuseMPgraphic

\starttext

\startMPpage
\useMPgraphic{square}
\stopMPpage

\stoptext


Why doesn't this work?

%output=pdf

\startuseMPgraphic{usquare}
   draw unitsquare scaled \MPvar{u};
\stopuseMPgraphic

\starttext

\startMPpage
\setupMPvariables[usquare][u=4cm]
\includeMPgraphic{usquare}
\stopMPpage

\stoptext

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

end of thread, other threads:[~2005-12-27 20:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-26 21:26 \setupMPvariables in \startMPpage David Arnold
2005-12-26 23:01 ` Willi Egger
2005-12-27 20:55 ` Hans Hagen
2005-12-27 20:58 ` Hans Hagen

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