Thanks. This is exactly what is needed. I feel myself somewhat silly, because I 
did try \scale, but with the wrong parameter setup; nothing happened then, of 
course. Now I know to do it right!

Hans van der Meer



On 7 May 2013, at 9:35 AM, Marco Patzer <home...@lavabit.com>
 wrote:

> On 2013–05–07 Meer, H. van der wrote:
> 
>> Perhaps a better and possibly more elegant way seems the following
>> route. When I turn Metapost figures into external pdf-files, these
>> can be placed with \useexternalfigure and the scaled as a whole,
>> drawing and text alike. My question is: can this be done without
>> resorting to an external pdf? That is, can I pick up the result of
>> \useMPgraphic somewhere, then put this in \useexternalfigure and
>> apply everything possible there to the figure.
> 
> You could use \scale :
> 
> \startuseMPgraphic{foo}
>  fill unitcircle scaled 1cm;
>  label("Foo", origin);
> \stopuseMPgraphic
> 
> \starttext
>                                \useMPgraphic{foo}
>  \scale[width=3cm]            {\useMPgraphic{foo}}
>  \scale[width=3cm,height=5cm] {\useMPgraphic{foo}}
>  \scale[scale=2500]           {\useMPgraphic{foo}}
> \stoptext
> 
> Marco
> ___________________________________________________________________________________
> 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://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________

___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to