[luatex] insert a string into node list?
Arno Trautmann
Arno.Trautmann at gmx.de
Thu Jul 14 15:23:33 CEST 2011
Hi all,
I have two probably rather unusual questions:
• First, I wanted to ask how I could insert some text into a paragraph.
I'd like to do it with the pre_linebreak_filter, and managed to insert
single glyph nodes. However, even for a short text that is very
annoying. So: is there an alternative to constructing a node list?
• 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 …
I'd be thankful for any hint how to solve these two problems,
cheers
Arno
More information about the luatex
mailing list