summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/pstricks
diff options
context:
space:
mode:
authorManuel Pégourié-Gonnard <mpg@elzevir.fr>2008-06-21 14:42:14 +0000
committerManuel Pégourié-Gonnard <mpg@elzevir.fr>2008-06-21 14:42:14 +0000
commit836f497d5ba479fdc19164951941f051cdd804d0 (patch)
treef90cd5cb3cf497aea05d961315c26bad32ac7471 /Master/texmf-dist/tex/generic/pstricks
parent4683bcefcc8e380dda5f46ff09833a4b9b7f7804 (diff)
pstricks update
git-svn-id: svn://tug.org/texlive/trunk@8901 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/pstricks')
-rw-r--r--Master/texmf-dist/tex/generic/pstricks/Changes1
-rw-r--r--Master/texmf-dist/tex/generic/pstricks/pstricks.tex15
2 files changed, 12 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/generic/pstricks/Changes b/Master/texmf-dist/tex/generic/pstricks/Changes
index 19b56deda9d..7f6e9558747 100644
--- a/Master/texmf-dist/tex/generic/pstricks/Changes
+++ b/Master/texmf-dist/tex/generic/pstricks/Changes
@@ -1,4 +1,5 @@
pstricks.tex --------
+1.24 2008-06-17 - added \psDEBUG[#1]#2 for better dubugging
1.23 2008-05-23 - add octogon symbol (hv)
- fix bug with D>-<D (hv)
1.22 2008-04-14 - added shift=* option to get vertically centered
diff --git a/Master/texmf-dist/tex/generic/pstricks/pstricks.tex b/Master/texmf-dist/tex/generic/pstricks/pstricks.tex
index c13f0f0ff6b..09d4be2988c 100644
--- a/Master/texmf-dist/tex/generic/pstricks/pstricks.tex
+++ b/Master/texmf-dist/tex/generic/pstricks/pstricks.tex
@@ -20,8 +20,8 @@
% See the PSTricks User's Guide for description.
% This uses the header file `pstricks.pro'.
%
-\def\fileversion{1.23}
-\def\filedate{2008/05/23}
+\def\fileversion{1.24}
+\def\filedate{2008/06/17}
%
\csname PSTricksLoaded\endcsname
\let\PSTricksLoaded\endinput
@@ -460,6 +460,8 @@
% v 1.05 begin
\def\psset@PstDebug#1{\pst@getint{#1}{\Pst@Debug}}% hv 2004-06-22
\psset{PstDebug=0}
+\def\psDEBUG{\@ifnextchar[\psDEBUG@i{\ps@DEBUG@i[PSTricks]}}
+\def\psDEBUG@i[#1]#2{\ifnum\Pst@Debug>0 \expandafter\typeout{<#1>: #2}\fi}
% end
\def\pst@getlength#1#2{%
\pssetlength\pst@dimg{#1}%
@@ -865,6 +867,7 @@
}%
}
\psset@fillstyle{none}
+%
\def\psset@arrows#1{%
\begingroup
\pst@activearrows
@@ -1566,7 +1569,7 @@
}
\def\pscurve@ii{%
\addto@pscode{
- \pst@cp
+ \pst@cp % current point
\psk@curvature\space /c ED /b ED /a ED
\ifshowpoints true \else false \fi
\tx@OpenCurve
@@ -1839,7 +1842,11 @@
}%
}
\def\psline@ii{%
- \addto@pscode{\pst@cp \psline@iii \tx@Line}%
+ \addto@pscode{
+ \pst@cp % current point
+ \psline@iii % arc and lineto type
+ \tx@Line % .pro function
+ }%
\end@OpenObj%
}
\def\psline@iii{%