Am 15.07.2009 um 15:57 schrieb Hans Hagen:

Peter Rolf wrote:
Hans Hagen schrieb:

i'll make a new alpha later today
i'll take my chance and hijack this thread then...  :)
there is a c&p error in lpdf-grp.lua.

since you're looking into lua code ... there is some new playground (unfinished of course) ... (the true arg is just for pretty printing and can be omitted)

Nice feature to shorten code when some data comes from a lua table but it did not work when used in the lua environment, the code for the table appears only on the terminal.

\starttext

some text

\startluacode

context.bTABLE(true)
for i=1,10 do
   context.bTR()
   for i=1,10 do
       context.bTD()
       context("%#2i",math.random(99))
       context.eTD()
   end
   context.eTR(true)
end
context.eTABLE(true)

\stopluacode

\stoptext

Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to