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
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'