[pstricks] PSTricks Digest, Vol 166, Issue 1

Herbert Voss Herbert.Voss at FU-Berlin.DE
Thu Dec 1 19:55:46 CET 2016


Am 01.12.2016 um 19:44 schrieb Field, Malcolm:

> My apologies for bothering you again but I am unable to get your example file to Texify using my LaTeX setup (MiKTeX and WinEDT).  Attached is the Log File, which indicates an error at line 370 (near the bottom).  This error does not make sense.  When time permits, I would appreciate it if you could help me understand and correct this error.  (My guess at the error is that I am using a Windows machine and the command "/getRandReal" is a Unix command.)  Thank you.

more a problem with MiKTeX. Try


> \documentclass{article}
> \usepackage{multido,pstricks-add,pst-slpe}
> \begin{document}

\SpecialCoor

> \makeatletter
> \pstVerb{
> 	\psk at randInit srand  % initializes the random generator
> 	/getRandReal { rand 2147483647 div } def } \makeatother
> \begin{pspicture}(-1,-1)(11,11)
> \psframe*[linecolor=black!10](-1,-1)(11,11)
> \multido{\iA=0+1}{100}{%
> 	\psBall(! getRandReal 10 mul getRandReal 10 mul){blue}{3ex}} \end{pspicture}
>
> \end{document}


Herbert


More information about the PSTricks mailing list