25 Oct
2012
25 Oct
'12
2:15 p.m.
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