3 Oct
2024
3 Oct
'24
6:18 p.m.
vm via ntg-context schrieb am 03.10.2024 um 16:33:
On 03/10/2024 14:15, Wolfgang Schuster wrote:
Afterwards you can use a loop to create a TeX table out of the stored Lua table.
just the freshup the mind, how do you include a \setupTABLE in the lua section? like \setupTABLE[r][first][background=color, backgroundcolor=yellow]
You write it as context.setupTABLE({"r"}, {"first"}, {background="color", backgroundcolor="yellow"}) When there is only a single argument with brackets you can omit () but not in this case where the command takes multiple argument. For more information about TeX commands in Lua take a look at the "ConTeXt Lua document" (cld-mkiv.pdf) manual. Wolfgang