Hi all,
Thanks to you, I'm not at your level with Lua, but I'm learning thanks to you
Hans, I compiled your code and I get an error message :
lua error > lua error on line 50 in file ./table_1.tex:
token call, syntax: [ctxlua]:11: unexpected symbol near '='
13 \startluacode
14 function document.MyTable(specification)
15
16 local pattern = specification.pattern
17 local action = specification.action
18 local conversion = specification.conversion or "Characters"
19
20 local n = #pattern
21
22 -- context.startxtable { align = "middle,lohi", width = "0.8cm",
23 >> offset = "0.8ex", bodyfont = "9pt", framecolor = "cyan" }