[luatex] Inspecting a \def from LuaTeX

Eduardo Ochs eduardoochs at gmail.com
Mon Jan 29 19:26:57 CET 2018


Hi list,

Is there a way to inspect the contents of a \def from Lua in LuaTeX?
If I do, say,

  \def\hello{Hello}

I know how to see the sequence of tokens in \hello by running
"\show\hello" in a TeX prompt... is there something similar that can
be done from Lua?

  Thanks in advance!
    Eduardo Ochs
    http://angg.twu.net/luatex.html


More information about the luatex mailing list