diff options
author | Karl Berry <karl@freefriends.org> | 2016-09-17 22:01:50 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-09-17 22:01:50 +0000 |
commit | f9e7ca3a9f5935c140c8ad548c61ea13d14e0bf1 (patch) | |
tree | 98eebfe9b0850b3646a6ee62ada04b41ea253a83 /Master/texmf-dist/tex/generic/pstricks | |
parent | 1a99ceb79bc0478bdef9c8c60eb8a7455be0a087 (diff) |
pstricks (17sep16)
git-svn-id: svn://tug.org/texlive/trunk@42090 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 | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/generic/pstricks/pstricks.tex b/Master/texmf-dist/tex/generic/pstricks/pstricks.tex index 63f12e9e309..a8e729e96aa 100644 --- a/Master/texmf-dist/tex/generic/pstricks/pstricks.tex +++ b/Master/texmf-dist/tex/generic/pstricks/pstricks.tex @@ -1,7 +1,7 @@ %% pstricks.tex %% COPYRIGHT 1993, 1994, 1999 by Timothy Van Zandt, tvz@nwu.edu. %% COPYRIGHT 2000-2003 by Denis Girou. -%% Copyright 2004-2016 Herbert Voss +%% Copyright 2004-2017 Herbert Voss % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 @@ -126,19 +126,19 @@ \fi \XKV@tempa } - +% \def\ProvidesPackageRCS{\@ifnextchar[\ProvidesPackageRCS@i{\ProvidesPackageRCS@i[] }} %$ \def\ProvidesPackageRCS@i[#1] $#2${} %$ \catcode`\@=\PstAtCode\relax \ifx\PSTFPloaded\endinput\else \input pst-fp.tex\fi - +% \input pgfutil-common.tex \input pgfkeys.code.tex \input pgffor.code.tex \let\pgfforeach\foreach % -\def\fileversion{2.68} -\def\filedate{2016/06/09} +\def\fileversion{2.69} +\def\filedate{2016/09/16} \catcode`\@=11\relax \pst@addfams{pstricks} % @@ -154,7 +154,7 @@ \long\def\@forloop#1,#2,#3\@@#4#5{\def#4{#1}\ifx#4\@nnil \else #5\def#4{#2}\ifx#4\@nnil \else\global\advance\psLoopIndex by \@ne\relax #5\@iforloop #3\@@#4{#5}\fi\fi} - +% \long\def\@iforloop#1,#2\@@#3#4{\global\advance\psLoopIndex by \@ne\relax% \def#3{#1}\ifx #3\@nnil \expandafter\@fornoop \else @@ -701,8 +701,9 @@ \newrgbcolor{cyan}{0 1 1} \newrgbcolor{magenta}{1 0 1} % +\define@boolkey[psset]{pstricks}[Pst@]{draft}[true]{} \define@key[psset]{pstricks}{bgcolor}{\def\pst@bgcolor{#1}}% background for pspicture -\psset[pstricks]{bgcolor={}}% \pst@bgcolor is \@empty +\psset[pstricks]{bgcolor={},draft=false}% \pst@bgcolor is \@empty \define@key[psset]{pstricks}{style}{% \@ifundefined{pscs@#1}% @@ -4446,15 +4447,15 @@ pop \kern\pst@dimc}% \if@star\setbox\pst@hbox=\hbox{\clipbox@@\z@}\fi \leavevmode - \ifdim\overfullrule=\z@ - \box\pst@hbox - \else + \ifPst@draft \expandafter\ifx\csname @latexerr\endcsname\relax \box\pst@hbox \else % do we have LaTeX? \fboxsep=0pt \fbox{\rule[-\pst@shift]{0pt}{\ht\pst@hbox}\rule{\wd\pst@hbox}{0pt}}% \fi + \else + \box\pst@hbox \fi \endgroup \psset[pstricks]{shift=0}% reset value |