[luatex] Expanding text in lua

Khaled Hosny khaledhosny at eglug.org
Sun Oct 31 10:32:58 CET 2010

(Pretending to be TeXhacker and using terminology I don't actually
I was wondering if one can take a string of TeX input and expand it at
lua end to get its basic form for further processing, say we have:

\def\sometext{some text}
\def\sometalk{I wrote\sometext\ for a talk}

Then I can pass \sometalk to lua and get the "I wrote some text for a
talk" string out of it.


 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer

More information about the luatex mailing list