[luatex] insert a string into node list?

Arno Trautmann Arno.Trautmann at gmx.de
Fri Jul 15 09:54:16 CEST 2011

Taco Hoekwater wrote:
> On 14 jul. 2011, at 23:42, Hans Hagen<pragma at wxs.nl>  wrote:
>> On 14-7-2011 3:23, Arno Trautmann wrote:
>>> • Second, I'd like to print out the name of every defined
>>> macro/primitive, i.e. I imagine a list with every character combination
>>> after a \ that does not throw a undefd control sequence-error.
>>> Why? Just because I wanted to know if it's possible … and if it is
>>> possible at all, the odds are best with LuaTeX. Also, I'd like to
>>> understand how macros are stored internally – but for that I have to
>>> read some source code, I guess …
>> for name in pairs(tex.hashtokens()) do
>>     print(name)
>> end
> Really? Did i write code for that?

Wow, I'd never thought there were already code for this …
Very nice, thank you!


More information about the luatex mailing list