Vyatcheslav Yatskovsky wrote:
Hello friends,
I have a small but urgent question.
How to call luatex commands in the document? (I heard there were some recent changes.) More specifically, how to generate integer random numbers in given range? I'm preparing a quiz on numbering systems for my students on tomorrow, so your fast help would be greatly appreciated! :)
\startluacode \stopluacode \ctxlua{...} whatever you like tex.sprint(someresult) pipes back into tex ----------------------------------------------------------------- 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 -----------------------------------------------------------------