ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Cc: <ntg-context@ntg.nl>
Subject: Re: MetaFun questions
Date: Thu, 06 Mar 2003 14:13:47 +0100	[thread overview]
Message-ID: <5.1.0.14.1.20030306141040.0248d6b0@server-1> (raw)
In-Reply-To: <BA84D9A6.E200%king@dircon.co.uk>

At 09:17 AM 2/28/2003 +0000, Nigel King wrote:
> >>>>   has the original figure-size scaled 2 and not unitsquare scaled 2
> >>>
> >>> can you be a bit more explicit
> >>
> >> I might be able to help since I had this problem with scaling external
> >> figures in mpost MetaFun.
> >>
> >> In ConTeXt \externalfigure[xxx.pdf] brings in a picture at the size of the
> >> picture. Scaling modifies that size.
> >
> > how about
> >
> >  scaled 2
> >  xscaled 2 yscaled 5
> >  xyscaled (2,5)
> >
> > and
> >
> >  xsized 2cm
> >  ysized 4cm
> >  xysized (2cm,4cm)

\getfiguredimensions[...]
\let\MyFigWid\figurewidth
\let\MyFigHei\figureheight

....

xysized(\MyFigWid,\MyFigHei)


>I think we understand that. The point is that whereas Context knows the size
>of the original picture, MetaFun does not.

see above or meta-fig.tex

Hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------

  reply	other threads:[~2003-03-06 13:13 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-27 13:09 Jens-Uwe Morawski
2003-02-27 14:55 ` Hans Hagen
2003-02-27 19:05   ` Nigel King
2003-02-28  7:43     ` Hans Hagen
2003-02-28  9:17       ` Nigel King
2003-03-06 13:13         ` Hans Hagen [this message]
2003-03-06 17:16           ` Jens-Uwe Morawski
2003-03-07 10:21             ` Hans Hagen
2003-02-28 14:22   ` Jens-Uwe Morawski
2003-03-03 21:10     ` Hans Hagen
2003-03-06 18:10       ` Jens-Uwe Morawski

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=5.1.0.14.1.20030306141040.0248d6b0@server-1 \
    --to=pragma@wxs.nl \
    --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).