[luatex] insert a string into node list?

luigi scarso luigi.scarso at gmail.com
Thu Jul 14 17:35:35 CEST 2011

On Thu, Jul 14, 2011 at 5:21 PM, Taco Hoekwater <taco at elvenkind.com> wrote:
> On 07/14/2011 05:14 PM, luigi scarso wrote:
>>
>> On Thu, Jul 14, 2011 at 5:09 PM, Taco Hoekwater<taco at elvenkind.com>
>>  wrote:
>>>
>>> On 07/14/2011 03:23 PM, 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.
>>>
>>> Web2c used to / still has some possibilities to debug the format,
>>> but I have forgotten what it was, sorry.
>>>
>>> And no, this is not yet possible with luatex (it will be, eventually,
>>> but not yet).
>>
>> What about ? (from context mkii)
>> \def\tracingall
>
> That outputs a lot of stuff, but not the definitive list of existing
> control sequences (for example, even if you run this as the very first
> thing in -ini mode, it will not report on the actual primitives).

True: maybe
\$> grep 'primitive_'
source/texk/web2c/luatexdir/tex/commands.w|sort|uniq > pri.txt

--
luigi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pri.zip
Type: application/zip
Size: 6900 bytes
Desc: not available
URL: <http://tug.org/pipermail/luatex/attachments/20110714/3f15dfea/attachment-0001.zip>