<div dir="ltr">Hi all,<br>I was experimenting a tool for "internal" templating in LuaTeX using<br>TeX Live 2018. While the code successfully executed in luatex as expected,<br>this didn't in luatex53.<br>It's very simple to write the minimal (not) working example in the form<br>of the Lua file:<br>```<br>-- filename: test.lua<br>print(_VERSION)<br>local x = 1.23 -- a float<br>print(string.format("%d", x))<br>```<br><br>The output should be the string "1" but what happens in the terminal is...<br>```<br>$ luatex --luaonly test.lua<br>Lua 5.2<br>1<br>1<br>> Exit code: 0<br>```<br>and then<br>```<br>$ luatex53 --luaonly test.lua<br>Lua 5.3<br>test.lua:3: bad argument #2 to 'format' (number has no integer representation)<br>>Exit code: 1<br>```<br><br>This is a consequence of the recent Lua developments, you know, but...<br><br>Thank you for your attention!<br clear="all"><br>-- <br><div class="gmail_signature">Roberto Giacomelli</div>
</div>