diff options
Diffstat (limited to 'Master/texmf-dist/tex/generic/pstricks/pstricks.tex')
-rw-r--r-- | Master/texmf-dist/tex/generic/pstricks/pstricks.tex | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/generic/pstricks/pstricks.tex b/Master/texmf-dist/tex/generic/pstricks/pstricks.tex index 0b64852b66f..c471a7fd9af 100644 --- a/Master/texmf-dist/tex/generic/pstricks/pstricks.tex +++ b/Master/texmf-dist/tex/generic/pstricks/pstricks.tex @@ -137,8 +137,8 @@ \input pgffor.code.tex \let\pgfforeach\foreach % -\def\fileversion{2.70} -\def\filedate{2016/09/23} +\def\fileversion{2.71} +\def\filedate{2016/12/23} \catcode`\@=11\relax \pst@addfams{pstricks} % @@ -710,10 +710,15 @@ {\@pstrickserr{Custom style `#1' undefined}\@ehpa}% {\@nameuse{pscs@#1}}% } -\def\newpsstyle#1#2{\@namedef{pscs@#1}{% - \def\pst@tempA{#2}% - \ifx\pst@tempA\@empty\else\psset{#2}\fi}% -} +\def\newpsstyle{\@ifnextchar[\newpsstyle@ii{\newpsstyle@ii[]}}%% hv 2016-12-23 +% +%\def\newpsstyle@i#1#2{\@namedef{pscs@#1}{% +% \def\pst@tempA{#2}% +% \ifx\pst@tempA\@empty\else\psset{#2}\fi}} +% +\def\newpsstyle@ii[#1]#2#3{% + \@namedef{pscs@#2}{\if$#1$\psset{#3}\else\psset[#1]{#3}\fi}}%% end +% \def\addto@psstyle#1#2{% \pst@toks=\expandafter{#1#2}% \edef#1{\the\pst@toks}} |