texlive[48256] Master/texmf-dist: pstricks (23jul18)

commits+karl at tug.org commits+karl at tug.org
Mon Jul 23 23:06:49 CEST 2018


Revision: 48256
          http://tug.org/svn/texlive?view=revision&revision=48256
Author:   karl
Date:     2018-07-23 23:06:49 +0200 (Mon, 23 Jul 2018)
Log Message:
-----------
pstricks (23jul18)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/generic/pstricks/pst-news18.pdf
    trunk/Master/texmf-dist/tex/generic/pstricks/pstricks.tex

Modified: trunk/Master/texmf-dist/doc/generic/pstricks/pst-news18.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/tex/generic/pstricks/pstricks.tex
===================================================================
--- trunk/Master/texmf-dist/tex/generic/pstricks/pstricks.tex	2018-07-23 21:06:31 UTC (rev 48255)
+++ trunk/Master/texmf-dist/tex/generic/pstricks/pstricks.tex	2018-07-23 21:06:49 UTC (rev 48256)
@@ -1,4 +1,4 @@
-%% $Id: pstricks.tex 726 2018-02-05 13:52:25Z herbert $
+%% $Id: pstricks.tex 761 2018-05-01 19:11:51Z herbert $
 %% pstricks.tex
 %% COPYRIGHT 1993, 1994, 1999 by Timothy Van Zandt, tvz at nwu.edu.
 %% COPYRIGHT 2000-2003 by Denis Girou.
@@ -80,8 +80,8 @@
 \fi
 \let\pgfforeach\foreach
 %
-\def\fileversion{2.84}
-\def\filedate{2018/05/01}
+\def\fileversion{2.85}
+\def\filedate{2018/07/22}
 \pst at addfams{pstricks}
 %
 %\define at boolkey[psset]{pstricks}[Pst@]{useURWfonts}[true]{}
@@ -795,7 +795,7 @@
   \pstVerb{tx at Dict begin startGlobal /pst at angleunit {\pst at angleunit} def endGlobal end}%
   \ignorespaces}
 %
-\def\radians{\def\pst at angleunit{57.2956 mul }
+\def\radians{\def\pst at angleunit{57.2956 mul }%
   \pstVerb{tx at Dict begin startGlobal /pst at angleunit {\pst at angleunit} def endGlobal end}}%
 \def\pst at angleunit{}%
 
@@ -4325,7 +4325,6 @@
 % -----------  hv 20120219 -------------------
 \newpsstyle{gridstyle}{subgriddiv=0,gridcolor=lightgray,griddots=10,gridlabels=8pt}
 \newpsstyle{gridstyleA}{subgriddiv=5,gridcolor=red!30,subgridcolor=green!20!black!10,gridlabels=0pt}
-%\define at boolkey[psset]{pstricks}[]{showgrid}[true]{}
 \newif\ifshowgrid
 \newdimen\sh at wgridXunit
 \newdimen\sh at wgridYunit
@@ -4333,18 +4332,19 @@
 \define at key[psset]{pstricks}{showgrid}[b]{\expandafter\pst@@showgrid#1!!\@nil}
 \def\pst@@showgrid#1#2#3\@nil{%                            hv 20130403
   \def\showgridp at s{0}%
-  \ifx#1b\showgridtrue\else%                               bottom
-    \ifx#1f\showgridfalse\else%
-      \ifx#1t%
-        \ifx#2r\showgridtrue\else%  			   true->bottom
+  \ifx#1b \showgridtrue\else%                               bottom
+    \ifx#1f \showgridfalse\else
+      \ifx#1t
+        \ifx#2r \showgridtrue\else%  			   true->bottom
                \showgridtrue\def\showgridp at s{1}\fi%        top
-  \fi\fi\fi%
-  \ifnum\showgridp at s>0
-    \sh at wgridXunit=\psxunit%
-    \sh at wgridYunit=\psyunit%
-  \fi%
+  \fi\fi\fi
+  \ifnum\showgridp at s>0\relax
+    \sh at wgridXunit=\psxunit
+    \sh at wgridYunit=\psyunit
+  \fi
+
 }
-\psset[pstricks]{showgrid=false}
+\psset[pstricks]{showgrid=f}
 \define at boolkey[psset]{pstricks}[Pst@]{pgffunctions}[true]{}
 \psset[pstricks]{pgffunctions=false}
 %
@@ -4393,17 +4393,17 @@
   \psset{showgrid=false}%                % for nested pspicture environemnets
   \def\pst at tempA{#1}%
   \ifx\pst at tempA\@empty\else\psset{#1}\fi% sets the shift and grid option
-  \ifx\pst at bgcolor\@empty \else\psframe*[linecolor=\pst at bgcolor](#2,#3)(#4,#5)\fi
-  \ifshowgrid\ifnum\showgridp at s=0\psgrid[style=gridstyle]\fi\fi%
+  \ifx\pst at bgcolor\@empty\else\psframe*[linecolor=\pst at bgcolor](#2,#3)(#4,#5)\fi
+  \ifshowgrid\ifnum\showgridp at s=0\psgrid[style=gridstyle]\fi\fi
 % ----------- 1.10/12 end hv -------------------
   \ignorespaces%			% 2008-12-07
-  \ifPst at pgffunctions\pstVerb{ pgffunctions } \fi % hv 2013-04-17
+  \ifPst at pgffunctions\pstVerb{ pgffunctions }\fi% hv 2013-04-17
 }
 \def\pic at coor{(0,0)(0,0)(10,10)}
 %\newdimen\pst at shift
 \def\endpspicture{%
   \ifshowgrid\ifnum\showgridp at s>0
-    \psgrid[xunit=\sh at wgridXunit,yunit=\sh at wgridYunit,style=gridstyle]\fi\fi%
+    \psgrid[xunit=\sh at wgridXunit,yunit=\sh at wgridYunit,style=gridstyle]\fi\fi
   \pst at killglue
 %  \global\pst at shift=\pst at shift% in fact of the following endgroup
   \endgroup
@@ -4437,7 +4437,7 @@
   \ifPst at draft
     \expandafter\ifx\csname @latexerr\endcsname\relax
       \box\pst at hbox
-    \else  %	do we have LaTeX? 
+    \else%	do we have LaTeX? 
       \fboxsep=0pt
       \fbox{\rule[-\pst at shift]{0pt}{\ht\pst at hbox}\rule{\wd\pst at hbox}{0pt}}%
     \fi



More information about the tex-live-commits mailing list