On Wed, 23 May 2018 21:06:42 +0200
Pablo Rodriguez <oi...@gmx.es> wrote:

> On 05/23/2018 07:19 PM, Alan Braslau wrote:
> > On Wed, 23 May 2018 18:40:14 +0200 Pablo Rodriguez wrote:  
> >>
> >> I have tried to add the shifted option to the path definition and
> >> drawing and there was no shift in the MP page.  
> > 
> > (If you only have one MPpage, then there is no need for
> > \starttext\stoptext).
> > 
> >   \edef\TextInside{Just follow the tokens}
> >   \startMPpage
> >     path p ; p := reverse halfcircle scaled .6TextWidth;
> >     path q ; q := halfcircle rotatedaround (origin, 180)
> >         scaled (.6TextWidth + .75LineHeight);
> >     %~ draw fullcircle scaled .6TextWidth;
> >     draw followtext(p, "·\TextInside") ;
> >     draw followtext(q, "\TextInside·") ;
> >     path s ; s := (dir30--dir150--dir315--dir90--dir225--cycle)
> > scaled .3TextWidth ; for i=0 upto 500 :
> >       draw textext("\utfchar{"EB09}") scaled .5
> >         shifted point (i/500*length s) of s ;
> >     endfor
> >   \stopMPpage  
> 
> Many thanks for your help, Alan.
> 
> I didn’t know that dir even existed.
> 
> So I get a much better star that the one I tried before.
> 
> Many thanks for your help,
> 
> Pablo

If you are going to use MP, why not read the manual (mpman.pdf) or
better yet, refer to the MetaFun manual that is even available in
printed form at http://www.h2o-books.com/catalog/context/metafun

Alan
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to