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 ----------------------------------------------------------------- ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________