Re: [NTG-context] still have a problem in using luatools

2007-09-27 Thread Dalyoung Jeong
Dear Hans, It says nothing. dalyoung$ luatools --variables dalyoung$ % Just blank lines for other options, like --expansions, -- configurations, --show-path, etc. I copied /texmf-local/scripts/context/lua/luatools.lua to /usr/texbin/ luatools. If there is not

Re: [NTG-context] luatex for random numbers

2007-09-27 Thread Vyatcheslav Yatskovsky
Hello Hans, Thanks. Is there any way to print a number in hex or bin form? (Either using lua or tex facilities?) I already know how to generate random integer numbers, \ctxlua{tex.print(math.random(30,60)) ;} now I need to represent them as binary or hexadecimal. -- Best regards, Vyatcheslav Y

Re: [NTG-context] luatex for random numbers

2007-09-27 Thread Hans Hagen
Vyatcheslav Yatskovsky wrote: > Hello Hans, > > Thanks. Is there any way to print a number in hex or bin form? (Either using > lua or tex facilities?) I already know how to generate random integer > numbers, > \ctxlua{tex.print(math.random(30,60)) ;} > now I need to represent them as binary or

Re: [NTG-context] luatex for random numbers

2007-09-27 Thread Hans Hagen
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 syst

[NTG-context] luatex for random numbers

2007-09-27 Thread Vyatcheslav Yatskovsky
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 fa

Re: [NTG-context] still have a problem in using luatools

2007-09-27 Thread Hans Hagen
Dalyoung Jeong wrote: > Hi, > > Again I'd like to ask you some help. > > Since I have no idea what is wrong in my TeX(gwTeX), I tried from the > beginning. > I removed installed gwTeX, and reinstalled MacTeX-2007 package. > I checked the followings: > > $ kpsewhich texmf.cnf > /usr/local/texli

Re: [NTG-context] got win mimimals at last

2007-09-27 Thread Hans Hagen
Vyatcheslav Yatskovsky wrote: > Hello Hans, > >> not by luatex, but by mkiv ... kpse is not used at all, some day mkiv >> will use its own configuration files, currently, if you change a cfn >> file (or add files ot the tree) you need to run luatools --generate > > But what for I could change