Dear Hans, The structure of your code is very interesting.
((((MP code) inside ConTeXt) inside Lua) inside ConTeXt) again! It is really useful. Thank you. Best regards, Dalyoung > > play with code like this > > \starttext > > \startluacode > context.startMPcode() > for i=1,10 do > for j=1,10 do > context('draw (%scm,%scm) withpen pencircle scaled 2mm > ;',i,j) > context('draw > thetextext.top("\\tt%s,%s",(%scm,%scm+2mm)) ;',i,j,i,j) > end > end > context.stopMPcode() > \stopluacode > > \stoptext > ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / 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 ___________________________________________________________________________________