still looking for LuaTeX, I understand how I can execute Lua code insided TeX code (via \luadirect
) but not how I could execute TeX code inside Lua code.
I explain : I would like to make a series of \let command from a luatex list.
My MWE is
\def\a{s}
\directlua{
x = {"b","c"}
for y in pairs(x) do
print (y)
% I would like to \let\<y>\a
end
}
What I would like it that \directlua produce something like
\let\b\a
\let\c\a