diff options
Diffstat (limited to 'Master/texmf-dist/tex/generic/pstricks/pstricks.tex')
-rw-r--r-- | Master/texmf-dist/tex/generic/pstricks/pstricks.tex | 29 |
1 files changed, 16 insertions, 13 deletions
diff --git a/Master/texmf-dist/tex/generic/pstricks/pstricks.tex b/Master/texmf-dist/tex/generic/pstricks/pstricks.tex index 41ca3959d49..073895b2440 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-2010 Herbert Voss +%% Copyright 2004-2011 Herbert Voss % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 @@ -65,8 +65,8 @@ \pst@addfams{pstricks} \ifx\PSTFPloaded\endinput\else \input pst-fp.tex\fi % -\def\fileversion{2.08} -\def\filedate{2010/06/06} +\def\fileversion{2.10} +\def\filedate{2010/08/27} % % stolen from latex.ltx to make it TeX compatible \newcount\psLoopIndex @@ -862,7 +862,6 @@ \edef\psk@origin{\pst@coor T }} \def\psk@origin{} % -\newif\ifPst@algebraic \define@boolkey[psset]{pstricks}[Pst@]{algebraic}[true]{} \psset[pstricks]{algebraic=false} % @@ -1554,6 +1553,9 @@ }} % \newif\ifPst@custom\Pst@customfalse +\define@boolkey[psset]{pstricks}[Pst@]{noCurrentPoint}[true]{} +\psset[pstricks]{noCurrentPoint=false} +% % \def\pscustom{\pst@object{pscustom}} \long\def\pscustom@i#1{% @@ -1805,7 +1807,7 @@ } \def\pscurve@ii{% \addto@pscode{ - \pst@cp % current point + \ifPst@noCurrentPoint\else\pst@cp\fi % current point \psk@curvature\space /c ED /b ED /a ED \ifshowpoints true \else false \fi \ifx\pslinestyle\psls@@symbol \psls@symbol OpenSymbolCurve \else \tx@OpenCurve \fi @@ -2070,7 +2072,7 @@ \ifx\pslinestyle\psls@@symbol\addto@pscode{ \psls@symbol SymbolLine }% \else% \addto@pscode{ - \pst@cp % current point + \ifPst@noCurrentPoint\else\pst@cp\fi % current point? \psline@iii % arc and lineto type \tx@Line % .pro function }% @@ -2153,7 +2155,7 @@ /xS yA yB sub mBC xB mul add mA xA mul sub mBC mA sub div def /yS mBC xS xB sub mul yB add def xS yS xA yA - \pst@cp % current point + \ifPst@noCurrentPoint\else\pst@cp\fi % current point \psline@iii % arc and lineto type \tx@Line % .pro function }% @@ -2266,7 +2268,7 @@ } \def\psbezier@ii{% \addto@pscode{ - \pst@cp + \ifPst@noCurrentPoint\else\pst@cp\fi \ifshowpoints true \else false \fi \ifx\pslinestyle\psls@@symbol \psls@symbol OpenSymbolBezier \else @@ -3416,7 +3418,7 @@ pop \def\getref@r{\def\psk@xref{1}} \psset[pstricks]{ref=c} % -\def\pst@rotlist{ mark RAngle /a ED cleartomark a neg } +\def\pst@rotlist{ mark RAngle /ps@a ED cleartomark ps@a neg } \def\pst@rottable{% @0=% @U=% @@ -3427,6 +3429,7 @@ pop @W=\pst@rotlist 90 add % @S=\pst@rotlist 180 add % @E=\pst@rotlist 90 sub } +% \define@key[psset]{pstricks}{rot}[0]{% \pst@expandafter{\@ifnextchar*{\psset@@@rot}{\psset@@rot}}{#1}\@nil} \def\psset@@rot#1\@nil{% @@ -3434,12 +3437,12 @@ pop \ifx##2\relax\pst@getangle{#1}\psk@rot \else\def\psk@rot{##2}\fi% \pst@Verb{ gsave STV CP T /ps@rot \ifx\psk@rot\@empty 0 \else \psk@rot \fi def grestore }% (MJS) }% - \expandafter\next\pst@rottable @#1=\relax @\@nil% - } + \expandafter\next\pst@rottable @#1=\relax @\@nil} % \def\psset@@@rot#1#2\@nil{% - \psset@@rot#2\@nil - \edef\psk@rot{\pst@rotlist \ifx\psk@rot\@empty\else ps@rot add \fi}}% (MJS) + \psset@@rot#2\@nil% + \edef\psk@rot{\pst@rotlist \ifx\psk@rot\@empty\else\space ps@rot add \fi}% + \pst@Verb{ gsave STV CP T /ps@rot \ifx\psk@rot\@empty 0 \else \psk@rot \fi def grestore }}% (MJS) % %\def\psset@@rot#1\@nil{% %\def\ps@next##1@#1=##2@##3\@nil{% |