[NTG-context] Exploring the Lua innards of ConTeXt: showtable

2012-09-17 Thread Sietse Brouwer
Hi all, ConTeXt mkiv stores all sorts of things in Lua tables, but 'what goes where' does not tend to be documented. So here is a function to print out a table's contents to get something like the following excerpt. The excerpt is from the output of `userdata.showtable(structures.lists)` in a

Re: [NTG-context] Exploring the Lua innards of ConTeXt: showtable

2012-09-17 Thread Hans Hagen
On 17-9-2012 17:47, Sietse Brouwer wrote: Hi all, ConTeXt mkiv stores all sorts of things in Lua tables, but 'what goes where' does not tend to be documented. So here is a function to print out a table's contents to get something like the following excerpt. Keep in mind that many datatables