summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-09-08 00:30:02 +0000
committerKarl Berry <karl@freefriends.org>2010-09-08 00:30:02 +0000
commitcb1213ecc3657ee8a0debc8b81431d287c0ca48c (patch)
treeb345e34c61d4a270ea61b112dd9769d71f175104 /Master/texmf-dist/tex/generic
parentf9d5c6abd032224d24ba2b7ef05d8f8322f316e5 (diff)
pstricks 2.10 (28aug10)
git-svn-id: svn://tug.org/texlive/trunk@19605 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic')
-rw-r--r--Master/texmf-dist/tex/generic/pstricks/config/Changes7
-rw-r--r--Master/texmf-dist/tex/generic/pstricks/pstricks.tex29
2 files changed, 23 insertions, 13 deletions
diff --git a/Master/texmf-dist/tex/generic/pstricks/config/Changes b/Master/texmf-dist/tex/generic/pstricks/config/Changes
new file mode 100644
index 00000000000..0e14ca192b8
--- /dev/null
+++ b/Master/texmf-dist/tex/generic/pstricks/config/Changes
@@ -0,0 +1,7 @@
+xdvipdfmx.con ------
+0.02 2010-08-02 - uncomment redefinition of \pst@starbox
+0.01 2007-03-11 - first CTAN version, must be renamed to pstricks.con
+ when used with XeTeX
+
+vtex.con ------
+0.02 2008-01-01 - disable transparent color setting
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{%