ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Metapost code does not work - Can you find the problem?
@ 2009-12-01 20:52 Curiouslearn
  2009-12-01 21:02 ` Curiouslearn
  0 siblings, 1 reply; 2+ messages in thread
From: Curiouslearn @ 2009-12-01 20:52 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Can someone please tell me why the code below does not work?

Thanks a ton.

\starttext

\startuseMPgraphic[CS]
		u:=1cm;
		pickup pencircle scaled 2pt;
		%Paths
		path demandCS;
		demandCS := (0,5u) -- (10u,0);
		% Draw Demand
		draw demandCS withcolor 0.5red;
		% The point on demand curve
		draw ((6,2) -- (6,0)) scaled u dashed evenly withpen pencircle
scaled 1pt withcolor 0.5white;
		draw ((6,2) -- (0,2)) scaled u dashed evenly withpen pencircle
scaled 1pt withcolor 0.5white;
\stopuseMPgraphic
	
	\useMPgraphic{CS}

\placefigure[here][CS1]{Consumer Surplus}{\useMPgraphic{CS}}



\stoptext
___________________________________________________________________________________
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
___________________________________________________________________________________


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

end of thread, other threads:[~2009-12-01 21:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-01 20:52 Metapost code does not work - Can you find the problem? Curiouslearn
2009-12-01 21:02 ` Curiouslearn

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