ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: \reuseMPgraphic error
Date: Mon, 08 Nov 2004 12:14:10 +0100	[thread overview]
Message-ID: <418F5502.7030403@wxs.nl> (raw)
In-Reply-To: <32A10A04-2E94-11D9-AA41-0003934F9514@indiana.edu>

Matthias Weber wrote:
> 
> On Nov 4, 2004, at 1:07 PM, David Arnold wrote:
> 
>> All,
>>
>> This file:
>>
>> \setupoutput[pdf]
>>
>> \startreusableMPgraphic{layout 1}
>> pickup pencircle scaled 1mm;
>> fill unitsquare xyscaled (7cm,8cm) withcolor 0.85white;
>> fill unitsquare xyscaled (5cm,5cm) shifted (1cm,1.5cm) withcolor 
>> 0.625yellow;
>> fill unitsquare xyscaled (5cm,1cm) shifted (1cm,0.5cm) withcolor 
>> 0.625red;
>> fill unitsquare xyscaled (5cm,1cm) shifted (1cm,6.5cm) withcolor 
>> 0.625red;
>> draw unitsquare xyscaled (5cm,7cm) shifted (1cm,0.5cm) withcolor 
>> 0.25white;
>> drawarrow (2cm,8cm)--top (2cm,7.5cm);
>> drawarrow (0cm,7cm)--lft(1cm,7cm);
>> clip currentpicture to unitsquare xyscaled (7cm,8cm);
>> \stopreusableMPgraphic
>>
>>
>> \startreusableMPgraphic{layout 2}
>> \includeMPgraphic{layout 1}
> 
> 
> ^^^^^^^^^
> is that allowed? (it works without)

it is allowed, but only when layout 1 is a usableMPgraphic

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------

  parent reply	other threads:[~2004-11-08 11:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-04 18:07 David Arnold
2004-11-04 19:03 ` Matthias Weber
2004-11-04 19:50   ` David Arnold
2004-11-08 11:14   ` Hans Hagen [this message]
2004-11-09  3:06     ` David Arnold

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=418F5502.7030403@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).