Dear all,
For \startuseMPgraphic, there is a way to do that (found in metafun book) as following:
\startuseMPgraphic{Labels}{s, t}
numeric u; u:= 1cm;
for i=0 upto 7:
label (textext("$v_{" & decimal (i) & "}$" ), \MPvar{s}[origin,3u*dir(30*i)]) ;
label (textext("$v_{" & decimal (i) & "}$" ), \MPvar{t}[origin,3u*dir(30*i)]) ;
endfor;
\stopuseMPgraphic
\starttext
\placefigure[][]{}
{\useMPgraphic{ColoringFace::Labeling}{s=0.8, t=1.3}}
\stoptext
Is there a way to the same job for \processMPbuffer instead of .5 and .7 in buffer?
\startbuffer[Labels]%{s, t}
numeric u; u:= 1cm;
for i=0 upto 7:
label (textext("$v_{" & decimal (i) & "}$" ), .5[origin,3u*dir(30*i)]) ;
label (textext("$v_{" & decimal (i) & "}$" ), .7[origin,3u*dir(30*i)]) ;
endfor;
\stopbuffer
\starttext
\processMPbuffer[Labels]%% ?{s, t}?
\stoptext
Thank you.
Best regards,
Dalyoung