From: Aditya Mahajan <adityam@umich.edu>
Subject: Metapost: point along path and metaobj
Date: Sun, 18 Jun 2006 22:45:58 -0400 (EDT) [thread overview]
Message-ID: <Pine.WNT.4.63.0606182240070.664@nqvgln> (raw)
Hi,
Something goes wrong while using metaobj and point something along
somepath. I do not know if point ... along... is a mp core command or
something introduced by metafun. Is this metafun's fault, metaobj's
fault or simply a metapost issue (and thus I should ask on the
metapost list).
\setupcolors
[state=start]
\startMPinclusions
input metaobj;
\stopMPinclusions
% Everything works fine if I comment metaobj.
\starttext
\startMPpage
path p ; p := (0,0)--(1cm,0) ;
draw p
withpen pencircle scaled 2bp
withcolor 0.8white;
draw (point .25 along p)--(point .75 along p)
withpen pencircle scaled 2bp
withcolor red ;
\stopMPpage
\stoptext
gives
! Missing argument to arctime.
<to be read again>
of
along->(arctime((EXPR0)*(arclength(EXPR1)))of
(EXPR1))of(EXPR1)
<to be read again>
)
l.295 draw (point .25 along p)
--(point .75 along p)
Aditya
next reply other threads:[~2006-06-19 2:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-19 2:45 Aditya Mahajan [this message]
2006-06-19 14:03 ` Taco Hoekwater
2006-06-19 15:46 ` PsTRICKS in Context batela
2006-06-19 15:52 ` Hans Hagen
2006-06-19 16:29 ` batela
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=Pine.WNT.4.63.0606182240070.664@nqvgln \
--to=adityam@umich.edu \
--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).