Hans van der Meer <[EMAIL PROTECTED]> writes:
> Hi Hans
Well, I am not Hans, but perhaps I might add a comment:
> I am placing metapost figures in the text:
could you provide a small non-working example (that we can run thru TeX)?
The following works fine here:
% interface=en output=pdf \starttext
\def\mycommand#1{% \startuseMPgraphic{somegraphic} drawdot origin; label.top(textext("#1", origin); \stopuseMPgraphic \useMPgraphic{somegraphic}}
\mycommand{Hello Hans} \stoptext
\setMPtext{some tag}{some text}
\startMPcode draw textext(\MPstring{some tag}) ; \stopMPcode
For Patrick who reads sources:
%D To be documented:
%D
%D \starttyping
%D \setMPtext{identifier}{text}
%D
%D \MPtext {identifier}
%D \MPstring{identifier}
%D \MPbetex {identifier}
%D \stoptyping-------------------------------------------------------------------------
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
-------------------------------------------------------------------------_______________________________________________ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
