summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pst-math/pst-math-doc.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/generic/pst-math/pst-math-doc.tex')
-rw-r--r--Master/texmf-dist/doc/generic/pst-math/pst-math-doc.tex13
1 files changed, 8 insertions, 5 deletions
diff --git a/Master/texmf-dist/doc/generic/pst-math/pst-math-doc.tex b/Master/texmf-dist/doc/generic/pst-math/pst-math-doc.tex
index 9978ef0148b..d40e7eb2f8f 100644
--- a/Master/texmf-dist/doc/generic/pst-math/pst-math-doc.tex
+++ b/Master/texmf-dist/doc/generic/pst-math/pst-math-doc.tex
@@ -1,4 +1,4 @@
-%% $Id: pst-math-doc.tex 859 2018-12-13 15:31:03Z herbert $
+%% $Id: pst-math-doc.tex 864 2018-12-15 21:15:11Z herbert $
\documentclass[fontsize=11pt,english,BCOR=10mm,DIV=12,bibliography=totoc,parskip=false,
headings=small, headinclude=false,footinclude=false,oneside,abstract=on]{pst-doc}
\usepackage{pst-math}
@@ -471,7 +471,10 @@ nested.
\section{Random numbers}
Package \LPack{pst-math} supports the creation of random number lists where a number will
-appear only once.
+appear only once. %But there is a different handling of the macros for Lua\LaTeX\ and the
+%other \TeX\ engines. %With Lua\TeX\ all random numbers are build with the help of Lua which
+%has the advantage that there will be no problem with \TeX's limited parameter stack size.
+
\begin{BDef}
\Lcs{defineRandIntervall}\Largr{min,max}{maxNo}\\
@@ -493,7 +496,7 @@ Random list: \RandomNumbers
\end{LTXexample}
-In the next example a random number appears only \emph{once} in the list. There no multiple
+In the next example a random number appears only \emph{once} in the list. There are no multiple
numbers:
@@ -507,7 +510,7 @@ numbers:
\begin{LTXexample}[pos=t]
-\newcounter{RandNo} \setcounter{RandNo}{1}
+\newcounter{RandNo}
\def\n{5} \def\N{\the\numexpr\n*\n}
\defineRandIntervall(1,\N){\N}
\makeRandomNumberList \setcounter{RandNo}{1}
@@ -518,7 +521,7 @@ numbers:
\stepcounter{RandNo}}}
\end{pspicture}
\setcounter{RandNo}{1}
-\def\n{6} \def\N{\the\numexpr\n*\n}
+\def\n{10} \def\N{\the\numexpr\n*\n}
\defineRandIntervall(1,\N){\N}
\makeRandomNumberList \setcounter{RandNo}{1}
\begin{pspicture}(\n,\n)