Dear list, To set the random seed of the MP random number generator I have to use the TeX command \setrandomseed. I can't do it from the Lua level, because tex.randomseed is read-only and tex.setrandomseed is nil. Could you please expose this primitive in Lua? Kind regards, Henri