diff options
author | Karl Berry <karl@freefriends.org> | 2017-10-05 00:42:49 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-10-05 00:42:49 +0000 |
commit | a5a99f284013e927aba9eb64c0c533aaf52bb178 (patch) | |
tree | 92441153694e255d4d2bfd8a4e3a246c1010ad43 /Master/texmf-dist/tex/generic/pst-tools | |
parent | 217a060c4db3cb29e49679ea8a15af13dbd5ce35 (diff) |
pst-tools (4oct17)
git-svn-id: svn://tug.org/texlive/trunk@45475 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/pst-tools')
-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 }% } |