summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-02-09 22:22:16 +0000
committerKarl Berry <karl@freefriends.org>2016-02-09 22:22:16 +0000
commit4d30a4ce33e5b019dcdbdbfd4be5897406d7e7fa (patch)
tree99f9c2dd617b1cb6dc2e15bbe0fd2741920b3be0 /Master/texmf-dist
parent49990f7389186c8e050f5f61d9d2cb6c9c10b34d (diff)
pstricks-add (9feb16)
git-svn-id: svn://tug.org/texlive/trunk@39645 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/generic/pstricks-add/Changes4
-rw-r--r--Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.pdfbin5188103 -> 5188541 bytes
-rw-r--r--Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.tex5
-rw-r--r--Master/texmf-dist/tex/generic/pstricks-add/pstricks-add.tex12
4 files changed, 13 insertions, 8 deletions
diff --git a/Master/texmf-dist/doc/generic/pstricks-add/Changes b/Master/texmf-dist/doc/generic/pstricks-add/Changes
index eb4f6e6f844..f58a841d0ec 100644
--- a/Master/texmf-dist/doc/generic/pstricks-add/Changes
+++ b/Master/texmf-dist/doc/generic/pstricks-add/Changes
@@ -1,4 +1,4 @@
-%% $Id: Changes 254 2016-02-07 15:01:19Z herbert $
+%% $Id: Changes 260 2016-02-09 10:10:40Z herbert $
%%
pstricks-add.pro -----------
0.23 2009-12-17 - add RGBtoGRAY and WavelengthToGRAY
@@ -39,6 +39,8 @@ pstricks-add.sty ----------- (hv)
pstricks-add.tex ----------- (hv)
+ v 3.79 2016-02-09 - added optional argument randInit to intialize
+ the random generator
v 3.78 2016-02-07 - fix bug with strokeopacity for arrows
v 3.77 2014-12-08 - fix bug with sup/inf for \psStep
v 3.76 2014-11-29 - fix bug with color setting and \psrotate
diff --git a/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.pdf b/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.pdf
index af98dfd5f87..b589a60cfcc 100644
--- a/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.pdf
+++ b/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.tex b/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.tex
index 33bb8dde9e0..80ce2c9caa3 100644
--- a/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.tex
+++ b/Master/texmf-dist/doc/generic/pstricks-add/pstricks-add-doc.tex
@@ -1,4 +1,4 @@
-%% $Id: pstricks-add-doc.tex 254 2016-02-07 15:01:19Z herbert $
+%% $Id: pstricks-add-doc.tex 260 2016-02-09 10:10:40Z herbert $
\documentclass[11pt,english,BCOR10mm,DIV12,bibliography=totoc,parskip=false,smallheadings
headexclude,footexclude,oneside]{pst-doc}
\listfiles
@@ -1035,6 +1035,7 @@ in user coordinates is used. The new options are:
\begin{tabular}{@{}l|l|l@{}}
name & default\\\hline
\Lkeyword{randomPoints} & \verb|1000| & number of random dots\tabularnewline
+\Lkeyword{randInit} & \verb|rrand| & initial value for the generator\tabularnewline
\Lkeyword{color} & \false & random color\tabularnewline
\end{tabular}
\end{center}
@@ -1046,7 +1047,7 @@ name & default\\\hline
\psRandom[dotsize=1pt,fillstyle=solid](1,1){\pscircle(0.5,0.5){0.5}}
\end{pspicture}
\begin{pspicture}(1,1)
- \psRandom[dotsize=2pt,randomPoints=5000,color,%
+ \psRandom[randInit=42,dotsize=2pt,randomPoints=5000,color,%
fillstyle=solid](1,1){\pscircle(0.5,0.5){0.5}}
\end{pspicture}
\end{LTXexample}
diff --git a/Master/texmf-dist/tex/generic/pstricks-add/pstricks-add.tex b/Master/texmf-dist/tex/generic/pstricks-add/pstricks-add.tex
index 50ee9c0ed19..8b6c32ac6bd 100644
--- a/Master/texmf-dist/tex/generic/pstricks-add/pstricks-add.tex
+++ b/Master/texmf-dist/tex/generic/pstricks-add/pstricks-add.tex
@@ -1,4 +1,4 @@
-%% $Id: pstricks-add.tex 254 2016-02-07 15:01:19Z herbert $
+%% $Id: pstricks-add.tex 260 2016-02-09 10:10:40Z herbert $
%%
%% This is file `pstricks-add.tex',
%%
@@ -30,8 +30,8 @@
\ifx\PSTXKeyLoaded\endinput\else \input pst-xkey \fi
\ifx\PSTmathLoaded\endinput\else \input pst-math \fi
%
-\def\fileversion{3.78}
-\def\filedate{2016/02/07}
+\def\fileversion{3.79}
+\def\filedate{2016/02/09}
\message{`pstricks-add' v\fileversion, \filedate\space (dr,hv)}
%
\edef\PstAtCode{\the\catcode`\@} \catcode`\@=11\relax
@@ -1076,8 +1076,9 @@ a add
}\ignorespaces}%
%
\define@key[psset]{pstricks-add}{randomPoints}[1000]{\def\psk@randomPoints{#1}}
+\define@key[psset]{pstricks-add}{randInit}[rrand]{\def\psk@randInit{#1 }}
\define@boolkey[psset]{pstricks-add}[Pst@]{color}[true]{}
-\psset{randomPoints=1000,color=false}
+\psset{randomPoints=1000,color=false,randInit}
%
\def\psRandom{\def\pst@par{}\pst@object{psRandom}}% hv 2004-11-12
\def\psRandom@i{\@ifnextchar({\psRandom@ii}{\psRandom@iii(0,0)(1,1)}}
@@ -1095,7 +1096,7 @@ a add
/xMax exch def
/dy yMax yMin sub def
/dx xMax xMin sub def
- rrand srand % initializes the random generator
+ \psk@randInit srand % initializes the random generator
/getRandReal { rand 2147483647 div } def
\psk@dotsize % defines /DS ... def
\@nameuse{psds@\psk@dotstyle}
@@ -2617,6 +2618,7 @@ a add
markAngle=false,
colSteps=0,
colored=false,
+ randInit,
}}
%
\resetOptions