[luatex] description of node.traverse_{char,glyph}
luigi scarso
luigi.scarso at gmail.com
Thu Mar 30 12:29:39 CEST 2023
On Mon, 13 Mar 2023 at 10:22, luigi scarso <luigi.scarso at gmail.com> wrote:
>
>
> On Mon, 13 Mar 2023 at 06:10, Hironori KITAGAWA via luatex <luatex at 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
>
>
Done,
cf3701da6 Fixed description of node.traverse_{char,glyph} (H. KITAGAWA)
--
luigi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/luatex/attachments/20230330/6d937cc6/attachment.html>
More information about the luatex
mailing list.