[NTG-context] \sometxt in staticMPfigure

Hans Hagen pragma at wxs.nl
Mon Sep 25 15:45:49 CEST 2006


Sanjoy Mahajan wrote:
> Another small metafun test file.  It displays no text in the middle of
> the ellipse.  Using \textext instead of \sometxt works.
>
> \starttext
> \startstaticMPfigure{fig}
>   draw \sometxt{hello};
>   draw fullcircle scaled 1cm xscaled 2;
> \stopstaticMPfigure
>
> \usestaticMPfigure[fig]
>
> xyz
> \stoptext
>   
demanding guy ... 

a static is just an mp graphic and mp does not know a thing about \macros

you can try the bet ai just uploaded 

Hans 


-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------



More information about the ntg-context mailing list