ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: Alan Braslau <alan.braslau@cea.fr>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: \externalfigure question
Date: Fri, 17 Feb 2017 19:20:17 +0100	[thread overview]
Message-ID: <273d61a3-870c-134f-7e86-0d6440d6ab39@wxs.nl> (raw)
In-Reply-To: <20170217110630.7d5567f4@zoo.hsd1.co.comcast.net>

On 2/17/2017 7:06 PM, Alan Braslau wrote:
> On Fri, 17 Feb 2017 18:42:25 +0100
> Hans Hagen <pragma@wxs.nl> wrote:
>
>> sx=
>> sy=
>>
>> iir small scales are also seen as fractions
>
> Like for the chemistry module, this can be confusing.
>
>
> Also, sx=,sy= muck with the aspect ratio, don't they?
>
> As we know, there is also an inconsistency in the handling of figure
> scaling. Consider:
>
> \startMPcode
>   draw externalfigure("cow") xsized 5cm ;
>   draw rawtextext("\externalfigure[cow]") xsized 5cm ;
>   draw rawtextext("\externalfigure[cow][width=5cm]") ;
> \stopMPcode
>
> The first will draw a distorted, square 5cmX5cm cow,
> The second and third will both draw an undistorted, rectangular
> 5cmX3.635cm cow.

indeed but that has to do with compatibility ...

>> or identifying libraries used
>
> which assume different default dpi. Can this be normalized in the case
> of file formats (such as pdf) that do not explicitly set the dpi?

luatex teies to figure it out from the tags in th efile ... there has 
been some improvements so maybe older luatex and new ones are different

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
___________________________________________________________________________________

  reply	other threads:[~2017-02-17 18:20 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-17 14:20 j. van den hoff
2017-02-17 14:42 ` Henning Hraban Ramm
2017-02-17 14:43 ` Hans Hagen
2017-02-17 16:04   ` j. van den hoff
2017-02-17 16:51     ` Alan Braslau
2017-02-17 17:05       ` j. van den hoff
2017-02-17 17:43         ` Hans Hagen
2017-02-17 17:42       ` Hans Hagen
2017-02-17 18:06         ` Alan Braslau
2017-02-17 18:20           ` Hans Hagen [this message]
2017-02-17 18:20           ` j. van den hoff

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=273d61a3-870c-134f-7e86-0d6440d6ab39@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=alan.braslau@cea.fr \
    --cc=ntg-context@ntg.nl \
    /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).