ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: new ConTeXt and metapost
@ 2000-02-02  9:14 Haseloff, Lutz
  0 siblings, 0 replies; 3+ messages in thread
From: Haseloff, Lutz @ 2000-02-02  9:14 UTC (permalink / raw)


> Hm. Are you sure you have mp-tool.mp in the right location? 
Hi Hans,

You are right, it was my error.
context found the wrong mp-tool.mp

shame on me
excuse me for wasting your time.
Next time i will have a look at the log first.

Greetings

Lutz


^ permalink raw reply	[flat|nested] 3+ messages in thread
* new ConTeXt and metapost
@ 2000-02-02  6:44 Haseloff, Lutz
  2000-02-02  8:05 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Haseloff, Lutz @ 2000-02-02  6:44 UTC (permalink / raw)


Hi Hans, Hi all,

the new ConTeXt (2000.01.26) writes mpgraph.mp with error.
mp breaks with:

>> _data_prefix_
>> "mpd-"
! Equation cannot be performed (numeric=string).
<to be read again>
                   ;
l.5 _data_prefix_ := "mpd-" ;

the same goes for : _data_suffix_ := ".tmp" ;

My input file is:

\startuseMPgraphic{Fig 1}
linejoin:=mitered;
for i = 0 upto 4:
z[i]=(7cm*sind(i*360/5),7cm*cosd(i*360/5));
endfor;
draw z0--z1--z2--z3--z4--cycle;
draw z0..z1..z2..z3..z4..cycle;
pickup pencircle scaled 1.5pt;
draw z2--z3--(x3,y0)--(x2,y0)--cycle;
\stopuseMPgraphic
\starttext
\useMPgraphic{Fig 1}
\stoptext

Greetings

Lutz


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

end of thread, other threads:[~2000-02-02  9:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-02-02  9:14 new ConTeXt and metapost Haseloff, Lutz
  -- strict thread matches above, loose matches on Subject: below --
2000-02-02  6:44 Haseloff, Lutz
2000-02-02  8:05 ` 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).