[NTG-context] Drawing scaled externalfigure in Metapost produces erroneous size in the latest beta

Hans Hagen j.hagen at xs4all.nl
Thu Apr 4 11:10:01 CEST 2019

On 4/4/2019 1:31 AM, Thorsten S. wrote:
> Hello!
> The simple Metapost code that follows worked fine until upgrading to 
> recent beta. I don't have a clue exactly when this behaviour was 
> introduced since I switched just recently from the standard Texlive 
> version available in Arch Linux.
> \starttext
> \startMPcode
> draw externalfigure "test.pdf" scaled 10mm;
> \stopMPcode
> \stoptext
> Now it produces a graphic with size of approximately 110 mm at least in 
> my system with various test files which previously scaled just fine.. 
> Any help is greatly appreciated.
scaled scaled the original size ... long ago that was 1bp but for 
accuracy reasons that is no longer the case, just use:

draw externalfigure "test.pdf" xsized 10mm;

which in most cases is actually a better method than 'scaled'


                                           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