diff options
author | Karl Berry <karl@freefriends.org> | 2017-10-02 21:58:12 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-10-02 21:58:12 +0000 |
commit | f3d0235a07baa8c6f8430bddcaa95ba3ad6de5ee (patch) | |
tree | b3b2a6d4460d6a5f5c75e4a314db604a8cc705df /Master/texmf-dist/tex/generic/pst-tools/pst-tools.tex | |
parent | 08f4fdc740a25d49aa543ac6694453cd84aacfd4 (diff) |
pst-tools (1oct17)
git-svn-id: svn://tug.org/texlive/trunk@45451 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/pst-tools/pst-tools.tex')
-rw-r--r-- | Master/texmf-dist/tex/generic/pst-tools/pst-tools.tex | 16 |
1 files changed, 13 insertions, 3 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 3c7ec247a90..494b9e16efd 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 527 2017-08-23 14:14:45Z herbert $ +%% $Id: pst-tools.tex 606 2017-10-02 17:34:18Z herbert $ %% %% This is file `pst-tools.tex', %% @@ -26,8 +26,8 @@ % interface to the `xkeyval' package \pst@addfams{pst-tools} % -\def\fileversion{0.07} -\def\filedate{2017/08/23} +\def\fileversion{0.08} +\def\filedate{2017/10/02} \message{`PST-tools' v\fileversion, \filedate\space (hv)} % \define@key[psset]{pst-tools}{decimalSeparator}[.]{\def\psk@decimalSeparator{#1}}% @@ -122,6 +122,16 @@ \end@SpecialObj } % +\def\psGetElement#1#2#3{% #1 index; #2 comma separated list; #3: Element as macro + \pst@cnto=\number#1 + \@for\pst@tempA:=#2\do{% + \ifnum\pst@cnto=0 % + \edef#3{\pst@tempA}% + \fi + \advance\pst@cnto by -1 + }% +} + \catcode`\@=\PstAtCode\relax % %% END: pst-tools.tex |