From: Hans Hagen <pragma@wxs.nl>
Subject: Re: MPgraphic question
Date: Fri, 13 Jan 2006 23:02:32 +0100 [thread overview]
Message-ID: <43C82378.8050607@wxs.nl> (raw)
In-Reply-To: <28ECC2C5-5314-436F-AB60-8F43BDD84E12@science.uva.nl>
Hans van der Meer wrote:
> I find it difficult to see the difference -- and therefore when to
> use the one or the other -- between useMPgraphic and uniqueMPgraphic.
> Is there someone who will enlighten me? Because I hate not knowing
> what I am doing.
say that you have a background behind framed:
compare:
\startuseMPgraphic{test}
draw OverlayBox withcolor red ;
\stopuseMPgraphic{test}
\setupcolor[state=start]
\defineoverlay[test][\useMPgraphic{test}]
\starttext
\framed[background=test]{Hans}
\framed[background=test]{Hans van}
\framed[background=test]{Hans van der}
\framed[background=test]{Hans van der Meer}
\framed[background=test]{Hans}
\stoptext
compare: use, reuse and unique and you'll notice the differnece:
use: every time (i.e. 5 mp runs)
reuse: once, each framed gets the same background (some have wrong
dimensions)
unique: 4 runs, the last one has the same dimensions and is shared
so ... unique is able to determine if it can reuse (based on
configurable characteristics)
Hans
next prev parent reply other threads:[~2006-01-13 22:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-13 20:52 Hans van der Meer
2006-01-13 22:02 ` Hans Hagen [this message]
2006-01-14 1:17 ` David Arnold
2006-01-15 17:02 ` 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=43C82378.8050607@wxs.nl \
--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).