ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Taco Hoekwater <taco@elvenkind.com>
Subject: Re: Metafun example doesn't work
Date: Sun, 18 Dec 2005 10:01:04 +0100	[thread overview]
Message-ID: <43A52550.8020004@elvenkind.com> (raw)
In-Reply-To: <95FED53B-C6E7-40F6-8984-68A467BBC4B7@cox.net>

Hi David,

To me it looks like it does work, but perhaps I am not looking
at it correctly. Here is what I compiled:

   \setupcolors[state=start]
   \setupoutput[pdftex]
   \starttext
   \startMPgraphic
   draw unitsquare
     xscaled 5cm yscaled 1cm
     withpen pencircle scaled 2mm
     withcolor .625 red;
   \stopMPgraphic
   \hbox\bgroup
   \loadcurrentMPgraphic{width=5cm,height=1cm}\placeMPgraphic\quad
   \loadcurrentMPgraphic{width=8cm,height=1cm}\placeMPgraphic\egroup
   \stoptext

And I get a red outline around two rectangles next to eachother.
Does it crash for you?

Taco

David Arnold wrote:
> All,
> 
> I've always wondered why this Metafun manual example doesn't work.
> 
> \startMPgraphic
>   draw unitsquare
>     xscaled 5cm yscaled 1cm
>     withpen pencircle scaled 2mm
>     withcolor .625 red;
> \stopMPgraphic
> 
> \hbox\bgroup
> \loadcurrentMPgraphic{width=5cm,height=1cm}\placeMPgraphic\quad
> \loadcurrentMPgraphic{width=8cm,height=1cm}\placeMPgraphic\egroup
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context

  reply	other threads:[~2005-12-18  9:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-18  6:21 David Arnold
2005-12-18  9:01 ` Taco Hoekwater [this message]
2005-12-18  9:04   ` David Arnold
2005-12-18 11:18     ` Taco Hoekwater
2005-12-18 20:43       ` Hans Hagen
2005-12-18 20:44   ` Hans Hagen

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=43A52550.8020004@elvenkind.com \
    --to=taco@elvenkind.com \
    --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).