[luatex] insert a string into node list?

luigi scarso luigi.scarso at gmail.com
Fri Jul 15 01:58:28 CEST 2011


On Thu, Jul 14, 2011 at 11:42 PM, 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
But it seems still format dependant: with plain luatex form  minimals
fontid not found
hfill not found
lastlinefit not found
luastartup not found
mathdir not found
nolocaldirs not found
nolocalwhatsits not found
Omegaminorversion not found
parshapedimen not found
pdfeachlinedepth not found
pdfeachlineheight not found
pdfendlink not found
protected not found
showgroups not found
suppressfontnotfounderror not found
tabskip not found
Umathfractiondenomvgap not found

With context mkiv:
Alephminorversion not found
Alephrevision not found
Alephversion not found
AlephVersion not found
charit not found
nolocaldirs not found
nolocalwhatsits not found
odelcode not found
odelimiter not found
omathaccent not found
omathchar not found
omathchardef not found
omathcode not found
Omegaminorversion not found
Omegarevision not found
Omegaversion not found
OmegaVersion not found
oradical not found


-- 
luigi



More information about the luatex mailing list