At 03:05 PM 6/9/2002 +0200, Johannes H�sing wrote:
>\startMPinclusions
>verbatimtex
>\definesymbol[karo]{\getglyph{Kinkimono}{\char017}}
>etex
>\stopMPinclusions
make that:
\startMPenvironment
\definesymbol ....
\stopMPenvironment
>\starttext
>\startuseMPgraphic{rechteck}
>fill unitsquare xyscaled (\overlaywidth, \overlayheight) withcolor .7white;
latesr version: fill OverlayBox withcolor ...
>label(btex \symbol[karo] etex, origin);
>label(btex \symbol[karo] etex, (0,\overlayheight));
>label(btex \symbol[karo] etex, (\overlaywidth, 0));
>label(btex \symbol[karo] etex, (\overlaywidth, \overlayheight));
>\stopuseMPgraphic
btw, there's also: OverlayWidth and OverlayHeight now, looks better
>\defineoverlay[Text][{\useMPgraphic{rechteck}}]
no real need to use the outer {} here -)
does
\starttext
\definesymbol[...][...]
\symbol[...]
\stoptext
work ok?
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
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
-------------------------------------------------------------------------