<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">According to the documentation you pointed out, a unique argument can be either a string or a table, but nothing about a single number</div><div class=""><br class=""></div><div class="">Notice that the undocumented tex.print(<number>n) prints the number n whereas tex.print(<number>n, nil) prints nothing, which is expected despite it may feel "a little" out of bounds...</div><div class=""><br class=""></div><div class=""><div><br class=""><blockquote type="cite" class=""><div class="">Le 2 mai 2022 à 15:50, Philip Taylor (Hellenic Institute) <<a href="mailto:P.Taylor@Hellenic-Institute.Uk" class="">P.Taylor@Hellenic-Institute.Uk</a>> a écrit :</div><br class="Apple-interchange-newline"><div class="">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" class="">
<div text="#000000" bgcolor="#FFFFFF" class="">
<div class="moz-cite-prefix">On 02/05/2022 14:26, Jérôme LAURENS
wrote:<br class="">
</div>
<blockquote type="cite" cite="mid:DD3BFCB7-0FCA-4ED3-9829-919F9DC4D499@u-bourgogne.fr" class="">
<meta http-equiv="content-type" content="text/html; charset=UTF-8" class="">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" class="">
luatex.pdf v 1.15 p 24, reads
<div class=""><br class="">
</div>
<div class="">
<div class="page" title="Page 28">
<div class="layoutArea">
<div class="column"><p class=""><span style="font-size: 10.000000pt;
font-family: 'DejaVuSerif'" class="">"The most simple
use of these
is </span><span style="font-size: 10.000000pt;
font-family: 'DejaVuSansMono'" class="">tex.print(<string>
s)"</span></p><p class="">Next examples on the same page read</p>
<div class="">
<div class="page" title="Page 28">
<div class="layoutArea">
<div class="column">
<pre class=""><span style="font-size: 10.000000pt; font-family: 'DejaVuSansMono'" class="">"tex.print(tex.count[10]+5)"
</span></pre>
</div>
</div>
</div>
</div>
<div class="">and</div>
<div class="">
<div class="page" title="Page 28">
<div class="layoutArea">
<div class="column">
<pre class=""><span style="font-size: 10.000000pt; font-family: 'DejaVuSansMono'" class="">"tex.print(math.pi)"</span></pre>
</div>
</div>
</div>
</div>
<div class="">Both arguments are not strings: this is an
unrelated and undocumented usage of "tex.print" that
would deserve a note in the appropriate section</div>
</div>
</div>
</div>
</div>
</blockquote><p class="">"Undocumented" ? Does 10.3.14.1 not read <br class="">
</p><div class="">
<br class="webkit-block-placeholder"></div><blockquote type="cite" class="">10.3.14.1 print<br class="">
tex.print(<string> s, ...)<br class="">
tex.print(<number> n, <string> s, ...)<br class="">
tex.print(<table> t)<br class="">
tex.print(<number> n, <table> t)</blockquote>
-- <br class="">
<i class="">Philip Taylor</i><br class=""><div class=""><br class="webkit-block-placeholder"></div>
</div>
</div></blockquote></div><br class=""></div></body></html>