summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/pstricks/pstricks.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/generic/pstricks/pstricks.tex')
-rw-r--r--Master/texmf-dist/tex/generic/pstricks/pstricks.tex12
1 files changed, 6 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/generic/pstricks/pstricks.tex b/Master/texmf-dist/tex/generic/pstricks/pstricks.tex
index 12592d79d02..736f34701d9 100644
--- a/Master/texmf-dist/tex/generic/pstricks/pstricks.tex
+++ b/Master/texmf-dist/tex/generic/pstricks/pstricks.tex
@@ -103,8 +103,8 @@
\input pgffor.code.tex
\let\pgfforeach\foreach
%
-\def\fileversion{2.37}
-\def\filedate{2013/03/12}
+\def\fileversion{2.39}
+\def\filedate{2013/04/04}
\catcode`\@=11\relax
\pst@addfams{pstricks}
%
@@ -4058,11 +4058,11 @@ pop
\newpsstyle{gridstyle}{subgriddiv=0,gridcolor=lightgray,griddots=10,gridlabels=8pt}
%\define@boolkey[psset]{pstricks}[]{showgrid}[true]{}
\newif\ifshowgrid
-\define@key[psset]{pstricks}{showgrid}[b]{\pst@@showgrid#1\@nil}
-\def\pst@@showgrid#1#2\@nil{%
+\define@key[psset]{pstricks}{showgrid}[b]{\expandafter\pst@@showgrid#1!!\@nil}
+\def\pst@@showgrid#1#2#3\@nil{% hv 20130403
\ifx#1b\showgridtrue\def\showgridp@s{0}\else% bottom
- \ifx#1f\showgridfalse\else
- \ifx#1t
+ \ifx#1f\showgridfalse\else%
+ \ifx#1t%
\ifx#2r\showgridtrue\def\showgridp@s{0}\else% true->bottom
\showgridtrue\def\showgridp@s{1}\fi% top
\fi\fi\fi%