diff options
author | Karl Berry <karl@freefriends.org> | 2016-12-23 23:04:49 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-12-23 23:04:49 +0000 |
commit | ddd286f02bd5b5cb542c2315e1d4a6dcf0476f75 (patch) | |
tree | bddfc719522902cb3ddba543894e894ce330b2af /Master/texmf-dist/tex/generic/pstricks | |
parent | d7c295bc09011849639dea06f2efcbf7fe42ed94 (diff) |
pstricks (23dec16)
git-svn-id: svn://tug.org/texlive/trunk@42780 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/pstricks')
-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}} |