Hello Fabrice,
On Thu, 18 Feb 2021 at 16:19, Fabrice Couvreur
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" }
Just comment out line 23, too, or join 22 + 23 to one line. Jano