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

2019-04-04 Thread Hans Hagen

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

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


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

2019-04-04 Thread Thorsten S.
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.

-Thorsten S.___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___