Re: [NTG-context] 'lua.registercode' bug in latest beta

2017-11-26 Thread Hans Hagen
On 11/26/2017 3:05 PM, Marco Patzer wrote: On Tue, 7 Nov 2017 11:59:51 +0800 Li Yanrui (李延瑞) wrote: Using '\ctxloadluafile' can get an error: ``` ..ext/tex/texmf-context/tex/context/base/mkiv/luat-cod.lua:50: bad argument #1 to 'gmatch' (string expected, got nil) ``` It seems to be caused b

Re: [NTG-context] 'lua.registercode' bug in latest beta

2017-11-26 Thread Marco Patzer
On Tue, 7 Nov 2017 11:59:51 +0800 Li Yanrui (李延瑞) wrote: > Using '\ctxloadluafile' can get an error: > > ``` > ..ext/tex/texmf-context/tex/context/base/mkiv/luat-cod.lua:50: bad > argument #1 to 'gmatch' (string expected, got nil) > ``` > > It seems to be caused by 'if options ~= ""' in `lua.r

Re: [NTG-context] 'lua.registercode' bug in latest beta

2017-11-18 Thread Henning Hraban Ramm
Am 2017-11-07 um 08:14 schrieb Henning Hraban Ramm : > Am 2017-11-07 um 04:59 schrieb Li Yanrui (李延瑞) : > >> Hi, >> >> Using '\ctxloadluafile' can get an error: >> >> ``` >> ..ext/tex/texmf-context/tex/context/base/mkiv/luat-cod.lua:50: bad argument >> #1 to 'gmatch' (string expected, got nil

Re: [NTG-context] 'lua.registercode' bug in latest beta

2017-11-06 Thread Henning Hraban Ramm
Am 2017-11-07 um 04:59 schrieb Li Yanrui (李延瑞) : > Hi, > > Using '\ctxloadluafile' can get an error: > > ``` > ..ext/tex/texmf-context/tex/context/base/mkiv/luat-cod.lua:50: bad argument > #1 to 'gmatch' (string expected, got nil) > ``` Same here: lua error > lua error on line 30 in fi

[NTG-context] 'lua.registercode' bug in latest beta

2017-11-06 Thread 李延瑞
Hi, Using '\ctxloadluafile' can get an error: ``` ..ext/tex/texmf-context/tex/context/base/mkiv/luat-cod.lua:50: bad argument #1 to 'gmatch' (string expected, got nil) ``` It seems to be caused by 'if options ~= ""' in `lua.registercode'. That empyt string should be 'nil'? -- Best regards, L