Re: [NTG-context] string.format changed in LuaTeX / grph-downsample

2018-03-23 Thread Hans Hagen
On 3/23/2018 9:46 AM, Henning Hraban Ramm wrote: Ahoi, since i recently updated my ConTeXt beta, Lua function string.format behaves differently, i.e. type checks are stricter. I guess it’s due to switching to Lua 5.3 in LuaTeX? This is indeed one of the changes in 5.3 (more about that at the

[NTG-context] string.format changed in LuaTeX / grph-downsample

2018-03-23 Thread Henning Hraban Ramm
Ahoi, since i recently updated my ConTeXt beta, Lua function string.format behaves differently, i.e. type checks are stricter. I guess it’s due to switching to Lua 5.3 in LuaTeX? E.g. this: if tonumber(string.format('%d', value)) == value then ... throws bad argument #2 to 'format'