document.showprimitives in luametatex-tex.tex
26 Jan
2020
26 Jan
'20
4:36 a.m.
luametatex-tex.tex defines and shortly thereafter uses a Lua function document.showprimitives. The definition of the function uses: table.sortedpairs(tex.extraprimitives(tag)) tex.extraprimitives(tag) returns a sequence. table.sortedpairs sorts on the keys of the sequence. In the case of a sequence, table.sortedpairs is equivalent to ipairs, and probably not what is intended here. See the results of the current uses of document.showprimitives in the PDF. They are not sorted alphabetically. There probably should be a sort on the values of the sequence returned by tex.extraprimitives(tag). A few weeks ago, this problem was present in the LuaTeX manual, too.
1791
Age (days ago)
1791
Last active (days ago)
0 comments
1 participants
participants (1)
-
Sebastian Miele