ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Metapost: point along path and metaobj
@ 2006-06-19  2:45 Aditya Mahajan
  2006-06-19 14:03 ` Taco Hoekwater
  0 siblings, 1 reply; 5+ messages in thread
From: Aditya Mahajan @ 2006-06-19  2:45 UTC (permalink / 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-06-19 16:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-19  2:45 Metapost: point along path and metaobj Aditya Mahajan
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

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