Re: [NTG-context] Lua code and table

2021-02-18 Thread Fabrice Couvreur
Hello Jano, Thanks. Fabrice Le jeu. 18 févr. 2021 à 16:27, Jano Kula a écrit : > Hello Fabrice, > > > > On Thu, 18 Feb 2021 at 16:19, Fabrice Couvreur < > fabrice1.couvr...@gmail.com> wrote: > >> Hi all, Thanks to you, I'm not at your level with Lua, but I'm learning >> thanks to you >> Hans, I

Re: [NTG-context] Lua code and table

2021-02-18 Thread Jano Kula
Hello Fabrice, On Thu, 18 Feb 2021 at 16:19, Fabrice Couvreur wrote: > 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

Re: [NTG-context] Lua code and table

2021-02-18 Thread 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

Re: [NTG-context] Lua code and table

2021-02-18 Thread Hans Hagen
On 2/18/2021 12:22 AM, Bruce Horrocks wrote: On 17 Feb 2021, at 17:40, Fabrice Couvreur wrote: Hi, The code works, but is it possible to make it shorter ? OK, here is my take, based on earlier posts, bringing together some 'technologies': (1) make a document function which isolatees the