On 29-7-2011 12:05, Procházka Lukáš Ing. - Pontex s. r. o. wrote:
\setMPtext{Text}{TEXT\par UUU}
\startuseMPgraphic{Test}
fill fullsquare xyscaled(10cm, 5cm) withcolor red;
label(btex AAA aaa etex, (0, 1cm));
label(btex BBB \crlf bbb etex, (0, 0cm));
label(btex CCC \par ccc etex, (0, -1cm));
label(\MPbetex{Text}, (0, -2cm));
\stopuseMPgraphic
\starttext
\useMPgraphic{Test}
\stoptext
\startuseMPgraphic{Test}
fill fullsquare xyscaled(10cm, 5cm) withcolor red;
label(textext("\framed[align=normal,width=10cm]{\input{knuth}}"),
(0, 0cm));
\stopuseMPgraphic
\starttext
\useMPgraphic{Test}
\stoptext
--
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________