ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Haseloff, Lutz" <Lutz.Haseloff@mdf.brandenburg.de>
Subject: new ConTeXt and metapost
Date: Wed, 2 Feb 2000 07:44:46 +0100	[thread overview]
Message-ID: <0F3313EC125AD311981100105AB3A75D07B574@N0795.mdf.fvbb.de> (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


             reply	other threads:[~2000-02-02  6:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-02-02  6:44 Haseloff, Lutz [this message]
2000-02-02  8:05 ` Hans Hagen
2000-02-02  9:14 Haseloff, Lutz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0F3313EC125AD311981100105AB3A75D07B574@N0795.mdf.fvbb.de \
    --to=lutz.haseloff@mdf.brandenburg.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).