Taco Hoekwater wrote:
Peter Rolf wrote:
hi,
i'm still trying to make my code run with mkiv. here are two minor problems. the first one is easy to deal with, but the second one currently breaks my testbed.
% engine=luatex \setupcolors[state=start]
\starttext
\startMPcode label("no color",origin) withcolor red; % always black \stopMPcode
Interesting problem, that one. The lack of color is easily explained because there is an implied textext() around the string., but it is not that easily solved, I suspect.
actually this was a bug but probably only taco has the version that fixes it (after all, we must stay at least a week ahead of you)
\string{\{}
Side note wrt. the example: don't you want \string\{ instead?
Anyway, the underlying problem is something for Aditya to look at, maybe. Too many commands are now 'math mode only' because of changes in char-def.lua.
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------