diff options
Diffstat (limited to 'Master/texmf-dist/tex/context/base/font-nod.lua')
-rw-r--r-- | Master/texmf-dist/tex/context/base/font-nod.lua | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/context/base/font-nod.lua b/Master/texmf-dist/tex/context/base/font-nod.lua index 26c736582b1..e2000be7ebd 100644 --- a/Master/texmf-dist/tex/context/base/font-nod.lua +++ b/Master/texmf-dist/tex/context/base/font-nod.lua @@ -376,8 +376,13 @@ function step_tracers.codes(i,command,space) if w then context.startcolor(colors[what]) context("%s:",what) - for c in traverse_id(glyph_code,w) do - showchar(c) + for c in traverse_nodes(w) do + local id = getid(c) + if id == glyph_code then + showchar(c) + else + context("[%s]",nodecodes[id]) + end end context[space]() context.stopcolor() |