[NTG-context] Metapost: point along path and metaobj

Aditya Mahajan adityam at umich.edu
Mon Jun 19 04:45:58 CEST 2006


  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).


   input metaobj;
% Everything works fine if I comment metaobj.

   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 ;


! Missing argument to arctime.
<to be read again>
<to be read again>
l.295 draw (point .25 along p)
                               --(point .75 along p)


More information about the ntg-context mailing list