ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Alan Braslau <alan.braslau@cea.fr>
To: Hans Hagen <pragma@wxs.nl>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: \externalfigure question
Date: Fri, 17 Feb 2017 11:06:30 -0700	[thread overview]
Message-ID: <20170217110630.7d5567f4@zoo.hsd1.co.comcast.net> (raw)
In-Reply-To: <c5f7c6a9-a55d-de31-9b6b-b94aa71e3d1f@wxs.nl>

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.

> 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?

Alan
___________________________________________________________________________________
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:06 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 [this message]
2017-02-17 18:20           ` Hans Hagen
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=20170217110630.7d5567f4@zoo.hsd1.co.comcast.net \
    --to=alan.braslau@cea.fr \
    --cc=ntg-context@ntg.nl \
    --cc=pragma@wxs.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).