[Dev-luatex] register a callback on macro expansion?

Jjgod Jiang gzjjgod at gmail.com
Tue Feb 20 12:07:20 CET 2007


2007/2/20, Hans Hagen <pragma at wxs.nl>:
> \def\hello#1{\directlua 0 {YourFunction("#1")}}

Yep. That works (but not for lua state 0, I use state 1 instead.)
But I'll need the slunicode library to process string like this, is
it available now? I have not found it on luatexref-t.pdf.


- jjgod.

More information about the dev-luatex mailing list