I'm using pgfmath in my code since I need some randomness and I want the seed used for the randomness to be updated each time I compile. I read that pgfmath is updating the seed every minute, which is not enough for what I'm doing. Is there a way to force him to update every second or, even better, every millisecond?
Here is a toy example of code which prints randomly 4 elements in the list {one, two, three, four}
\documentclass[11pt,a4paper]{report}
\usepackage{tikz}
\begin{document}
\pgfmathdeclarerandomlist{mylist}{{one}{two}{three}{four}}
\pgfmathrandomitem\elem{mylist}\elem\
\pgfmathrandomitem\elem{mylist}\elem\
\pgfmathrandomitem\elem{mylist}\elem\
\pgfmathrandomitem\elem{mylist}\elem
\end{document}
pdflatexthen maybe\pgfmathsetseed{\pdfrandomseed}might do. – egreg Nov 12 '13 at 15:29