On Mon, 13 Mar 2023 at 06:10, Hironori KITAGAWA via luatex <luatex@tug.org>
wrote:

> Hello,
>
> In LuaTeX Reference Manual, node.traverse_{char,glyph} are described as
> >  <node> n, font, char = node.traverse_char(<node> n)
> >  <node> n, font, char = node.traverse_glyph(<node> n)
>
> But this differs from the actual behavior:
>
> % test-traverse.tex
> abc
> \directlua{
>    for n,f,c in node.traverse_glyph(tex.nest[tex.nest.ptr].head) do
>      texio.write_nl('term and log', 'f=' .. tostring(f) .. ', c='
>        .. tostring(c))
>    end
> }
> \bye
>
> $ luatex test-traverse.tex
> This is LuaTeX, Version 1.16.0 (TeX Live 2023)
>   restricted system commands enabled.
> (./test-traverse.tex
> f=97, c=1
> f=98, c=1
> f=99, c=1 [1...
>
> Regards
> Hironori KITAGAWA
>

Thank you very much. We will check it / fix it  for the next luatex release
1.16.1.

--
luigi

Reply via email to