[NTG-context] Metapost: point along path and metaobj
Aditya Mahajan
adityam at umich.edu
Mon Jun 19 04:45:58 CEST 2006
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
More information about the ntg-context
mailing list