From: Herbert Voss <Herbert.Voss@FU-Berlin.DE>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: metapost -- mplib
Date: Sat, 23 Oct 2010 10:00:13 +0200 [thread overview]
Message-ID: <4CC2960D.5070106@FU-Berlin.DE> (raw)
When I run this example with mpost amd mptopdf, everything is fine.
But running it with context mkiv, using its mplib I get
an error.
The problematic command is dotlabels.top(0,1,2,3,4,5,6);
Commented it out, then it works with context, too.
Herbert
------------------------------------------------------
[...]
systems : begin file latex5 at line 1
mplib : initializing instance 'metafun' using format 'metafun'
mplib : loading 'metafun.mp' (experimental metapost version two)
mplib > mp terminal: ! Redundant equation.
<to be read again>
;
<*> ...caled 0.2in yscaled 0.08 rotated 30; u=4cm;
path p; x0=x3=x4;
z1-z0=0...
mplib > mp error: unknown, no error, terminal or log messages
mplib > mp terminal: [1]
[...]
-------------------------------------------------------
\starttext
\startMPcode
pickup pencircle
scaled 0.2in yscaled 0.08 rotated 30;
u=4cm;
path p; x0=x3=x4;
z1-z0=0.5in*dir 30; z2-z3=whatever*(z1-z0);
z6-z5=whatever*(z1-z0); z1-z6=1.2*(z3-z0);
rt x3=lft x2;x5=0.55[x4,x6]; y4=y6;
lft x3=bot y5=0; top y2=1in;
draw z0--z1--z2--z3--z4--z5--z6 withcolor .7white;
dotlabels.top(0,1,2,3,4,5,6);
\stopMPcode
\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
___________________________________________________________________________________
next reply other threads:[~2010-10-23 8:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-23 8:00 Herbert Voss [this message]
2010-10-23 8:04 ` Taco Hoekwater
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=4CC2960D.5070106@FU-Berlin.DE \
--to=herbert.voss@fu-berlin.de \
--cc=ntg-context@ntg.nl \
/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).