[NTG-context] No svg file output

Jan-Erik Hägglöf skrantajanneman at gmail.com
Sat Mar 5 11:04:49 CET 2022


It worked, thank you very much.

/Jan-Erik

> 4 mars 2022 kl. 10:59 skrev Hans Hagen <j.hagen at xs4all.nl>:
> 
> On 3/3/2022 10:54 PM, Jan-Erik Hägglöf via ntg-context wrote:
>> Dear list!
>> This seems strange, what is wrong? No output from svg-file.
>> \starttext
>> \startMPcode
>> picture utf1; utf1:= lmt_svg [ filename = "utfall01b.svg"];
>> numeric l ; l := bbwidth(utf1);
>> numeric h ; h := bbheight(utf1);
>> numeric scale ; scale := 3 ;
>> draw utf1 xsized l*scale ysized h*scale;
>> \stopMPcode
>> \stoptext
> 
> 
> \starttext
> \startMPcode
> picture ValidName; ValidName:= lmt_svg [ filename = "utfall01b.svg"];
> numeric l ; l := bbwidth(ValidName);
> numeric h ; h := bbheight(ValidName);
> numeric scale ; scale := 3 ;
> draw ValidName xysized (l*scale,h*scale);
> \stopMPcode
> \stoptext
> 
> -----------------------------------------------------------------
>                                          Hans Hagen | PRAGMA ADE
>              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>       tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
> -----------------------------------------------------------------



More information about the ntg-context mailing list