<div dir="ltr">Done! I've adapted your example and added it to the slides!<br>Thanks a lot!!! =)<br><div class="gmail_extra"><br></div><div class="gmail_extra">  Eduardo Ochs<br>    <a href="http://angg.twu.net/math-b.html#tug-2018">http://angg.twu.net/math-b.html#tug-2018</a><br></div><div class="gmail_extra">    <a href="http://angg.twu.net/e/luatex.e.html#tex-without-tex-email">http://angg.twu.net/e/luatex.e.html#tex-without-tex-email</a><br><br><br><br><div class="gmail_quote">On Tue, Jul 17, 2018 at 8:35 PM, Henri Menke <span dir="ltr"><<a href="mailto:henrimenke@gmail.com" target="_blank">henrimenke@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-">  <br></span></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"></blockquote></span>
To traverse the glyphs in a box use node.traverse_id().  It's all documented in the LuaTeX manual.  The following example will print abc in the log.  N.B.: node.traverse_id() does not recurse into sublists.<br>
<br>
\setbox0=\hbox{abc}<br>
<br>
\directlua{<br>
local head = tex.box[0].list<br>
%<br>
for n in node.traverse_id(<a href="http://node.id" rel="noreferrer" target="_blank">node.id</a>("glyp<wbr>h"),head) do<br>
    print(utf8.char(n.char))<br>
end<br>
}<br>
<br>
\bye</blockquote></div></div></div>