From: Hans Hagen <j.hagen@xs4all.nl>
To: "Thorsten S." <thorsten1975@protonmail.com>,
mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Drawing scaled externalfigure in Metapost produces erroneous size in the latest beta
Date: Thu, 4 Apr 2019 11:10:01 +0200 [thread overview]
Message-ID: <f565bb16-9cf6-ab0d-1b61-422f52fa7820@xs4all.nl> (raw)
In-Reply-To: <leLk075WpJ4pXHa9qN_luVhCzamr5GZyzkRgkpQtXU9dQTFyzHVTdK8JGEOpKwNoNCh7sVX3apdRjgkk8Tax2zjO4DAhy28xml5dy3APcSo=@protonmail.com>
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
___________________________________________________________________________________
next prev parent reply other threads:[~2019-04-04 9:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-03 23:31 Thorsten S.
2019-04-04 9:10 ` Hans Hagen [this message]
2019-04-04 9:10 ` *** Spam *** " Lutz Haseloff
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f565bb16-9cf6-ab0d-1b61-422f52fa7820@xs4all.nl \
--to=j.hagen@xs4all.nl \
--cc=ntg-context@ntg.nl \
--cc=thorsten1975@protonmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).