diff options
author | Mojca Miklavec <mojca.miklavec@gmail.com> | 2012-05-14 17:38:55 +0000 |
---|---|---|
committer | Mojca Miklavec <mojca.miklavec@gmail.com> | 2012-05-14 17:38:55 +0000 |
commit | 15995e10bfc68edf79970c4ea4fbb6678566c46e (patch) | |
tree | 2de7ca2a83f2d37ef043ad7429a5cb945bb79ddb /Master/texmf-dist/tex/context/base/supp-ran.lua | |
parent | c9a39f716f1e5ec820ed3aab2c9aef25c5a9d730 (diff) |
ConTeXt 2012.05.14 16:00
git-svn-id: svn://tug.org/texlive/trunk@26371 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/context/base/supp-ran.lua')
-rw-r--r-- | Master/texmf-dist/tex/context/base/supp-ran.lua | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/context/base/supp-ran.lua b/Master/texmf-dist/tex/context/base/supp-ran.lua index accd5c94c15..75202f696f8 100644 --- a/Master/texmf-dist/tex/context/base/supp-ran.lua +++ b/Master/texmf-dist/tex/context/base/supp-ran.lua @@ -16,7 +16,6 @@ local commands = commands local math = math local random, randomseed, round, seed, last = math.random, math.randomseed, math.round, false, 1 -local texwrite = tex.write function math.setrandomseedi(n,comment) if not n then @@ -35,12 +34,12 @@ end function commands.getrandomcounta(min,max) last = random(min,max) - texwrite(last) + context(last) end function commands.getrandomcountb(min,max) last = random(min,max)/65536 - texwrite(last) + context(last) end function commands.setrandomseed(n) @@ -49,7 +48,7 @@ function commands.setrandomseed(n) end function commands.getrandomseed(n) - texwrite(last) + context(last) end -- maybe stack |