diff options
Diffstat (limited to 'tex/context/base/core-uti.lua')
-rw-r--r-- | tex/context/base/core-uti.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tex/context/base/core-uti.lua b/tex/context/base/core-uti.lua index a055d8c7e..c20e7b274 100644 --- a/tex/context/base/core-uti.lua +++ b/tex/context/base/core-uti.lua @@ -69,8 +69,10 @@ local function initializer() local r = jobvariables.collected.randomseed if not r then r = math.random() + math.setrandomseedi(r,"initialize") + else + math.setrandomseedi(r,"previous run") end - math.setrandomseedi(r) jobvariables.tobesaved.randomseed = r for cs, value in next, jobvariables.collected do texsprint(ctxcatcodes,format("\\xdef\\%s{%s}",cs,value)) |