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