[NTG-context] Context 2006.07.13 released

Hans Hagen pragma at wxs.nl
Fri Jul 14 15:31:12 CEST 2006


Hans van der Meer wrote:
> On Jul 14, 2006, at 11:54, Taco Hoekwater wrote:
>
>   
>> New features since  2006.05.11:
>>
>> * The use of \sometxt in MetaPost figures (instead of \textext) can
>>    remove the need for indirect "texexec" runs, resulting in a massive
>>    speed improvement for heavy documents.
>>     
>
>
> Do I understand correct that this is meant to generally replace  
> \textext from inside metapost figures?
>
> Is the following change correct, for example:
> 	% prevent wobbling of text boxes with uneven depth
> 	pic := textext("\setbox0=\hbox{"&labeltext&"}\dp0=0pt\box0");
> into:
> 	pic := sometxt("\setbox0=\hbox{"&labeltext&"}\dp0=0pt\box0");
>   
this should work
> Are there restrictions? When to use \sometxt and when is there need  
> for \textext?
>   
when such texts are used in e.g. mp loops, you should use textext 

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