* Drawing scaled externalfigure in Metapost produces erroneous size in the latest beta
@ 2019-04-03 23:31 Thorsten S.
2019-04-04 9:10 ` Hans Hagen
2019-04-04 9:10 ` *** Spam *** " Lutz Haseloff
0 siblings, 2 replies; 3+ messages in thread
From: Thorsten S. @ 2019-04-03 23:31 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 523 bytes --]
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.
[-- Attachment #1.2: Type: text/html, Size: 706 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Drawing scaled externalfigure in Metapost produces erroneous size in the latest beta
2019-04-03 23:31 Drawing scaled externalfigure in Metapost produces erroneous size in the latest beta Thorsten S.
@ 2019-04-04 9:10 ` Hans Hagen
2019-04-04 9:10 ` *** Spam *** " Lutz Haseloff
1 sibling, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2019-04-04 9:10 UTC (permalink / raw)
To: Thorsten S., mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: *** Spam *** Drawing scaled externalfigure in Metapost produces erroneous size in the latest beta
2019-04-03 23:31 Drawing scaled externalfigure in Metapost produces erroneous size in the latest beta Thorsten S.
2019-04-04 9:10 ` Hans Hagen
@ 2019-04-04 9:10 ` Lutz Haseloff
1 sibling, 0 replies; 3+ messages in thread
From: Lutz Haseloff @ 2019-04-04 9:10 UTC (permalink / raw)
To: Thorsten S., mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 803 bytes --]
Hi Thorsten,
I had the same problem a couple of months ago.
Use sized instead of scaled now.
The same goes for xscaled and yscaled.
Greetings Lutz
Am 4. April 2019 01:31:29 MESZ schrieb "Thorsten S." <thorsten1975@protonmail.com>:
>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.
[-- Attachment #1.2: Type: text/html, Size: 1183 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-04-04 9:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-03 23:31 Drawing scaled externalfigure in Metapost produces erroneous size in the latest beta Thorsten S.
2019-04-04 9:10 ` Hans Hagen
2019-04-04 9:10 ` *** Spam *** " Lutz Haseloff
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).