Hi,
2007/2/20, Hans Hagen
: \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 Jiang wrote: this is state independent, so state 1 should work; indeed the slunicode lib is there as is lfs Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------