[dev-context] new mp feature
Mojca Miklavec
mojca.miklavec.lists at gmail.com
Sat Jun 17 18:02:21 CEST 2006
Question, questions and questions again ...
The question from yestarday wasn't a serious one. But this one might
get closer. After I've rewritten the context.trm to try the new
\sometxt out, I struggled against the following problem:
\startMPcode
picture p;
vardef rotateme(expr m) =
(m rotated 90)
enddef;
% this works
p := \sometxt{sin (x)};
draw rotateme(p);
% this doesn't
draw rotateme( \sometxt{sin (x)} );
\stopMPcode
Is handling the second situation too complext for the existing
mechanism? The solution on "my side" is trivial - I can split the
behaviour in the gnuplot module to work in two steps instead in a
single one, but perhaps this can be easility fixed as well.
Mojca
More information about the dev-context
mailing list