diff options
Diffstat (limited to 'Master/texmf-dist/tex/generic')
-rw-r--r-- | Master/texmf-dist/tex/generic/pst-tools/pst-tools.tex | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/generic/pst-tools/pst-tools.tex b/Master/texmf-dist/tex/generic/pst-tools/pst-tools.tex index 494b9e16efd..6ab3305827f 100644 --- a/Master/texmf-dist/tex/generic/pst-tools/pst-tools.tex +++ b/Master/texmf-dist/tex/generic/pst-tools/pst-tools.tex @@ -1,4 +1,4 @@ -%% $Id: pst-tools.tex 606 2017-10-02 17:34:18Z herbert $ +%% $Id: pst-tools.tex 611 2017-10-04 06:21:41Z herbert $ %% %% This is file `pst-tools.tex', %% @@ -26,8 +26,8 @@ % interface to the `xkeyval' package \pst@addfams{pst-tools} % -\def\fileversion{0.08} -\def\filedate{2017/10/02} +\def\fileversion{0.09} +\def\filedate{2017/10/04} \message{`PST-tools' v\fileversion, \filedate\space (hv)} % \define@key[psset]{pst-tools}{decimalSeparator}[.]{\def\psk@decimalSeparator{#1}}% @@ -122,13 +122,13 @@ \end@SpecialObj } % -\def\psGetElement#1#2#3{% #1 index; #2 comma separated list; #3: Element as macro - \pst@cnto=\number#1 +\def\psRegisterList#1#2{% + \@namedef{#1}##1{\@nameuse{#1##1}}% + \pst@cnto=1 \@for\pst@tempA:=#2\do{% - \ifnum\pst@cnto=0 % - \edef#3{\pst@tempA}% - \fi - \advance\pst@cnto by -1 + \edef\pst@tempB{\@namedef{#1\the\pst@cnto}{\pst@tempA}}% + \pst@tempB + \advance\pst@cnto by 1 }% } |