
29 Mar
2025
29 Mar
'25
7:23 p.m.
Am 29.03.2025 um 16:22 schrieb Mohammad Hossein Bateni:
Hello,
Here's a MNWE:
------------------------------- \starttext \def\A{a} %\def\A{b} \ctxlua{LuaA("\doifelse{\A}{a}{ey}{bee}")} \stoptext -------------------------------
I put \expanded and \expandafter here and there, but couldn't get this to work.
Is the problem due to \doifelse scanning its input? If yes, how can we handle this?
Replace \doifelse with \expdoifelse or \expandeddoifelse. Wolfgang