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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________