summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/pstricks
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-05-12 20:17:14 +0000
committerKarl Berry <karl@freefriends.org>2019-05-12 20:17:14 +0000
commit13b5d034ee114ccd6924a75a1c3c55fd708ff26b (patch)
tree60f82483b58fd1e97571ee2e6fb405c54a21b715 /Master/texmf-dist/tex/latex/pstricks
parente4de0e5d25d5e79a19e05ebd11ab237070678bda (diff)
pstricks (12may19)
git-svn-id: svn://tug.org/texlive/trunk@51102 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/pstricks')
-rw-r--r--Master/texmf-dist/tex/latex/pstricks/pstricks.sty7
1 files changed, 6 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/pstricks/pstricks.sty b/Master/texmf-dist/tex/latex/pstricks/pstricks.sty
index 36014b1d9b7..dff12d797f4 100644
--- a/Master/texmf-dist/tex/latex/pstricks/pstricks.sty
+++ b/Master/texmf-dist/tex/latex/pstricks/pstricks.sty
@@ -1,4 +1,4 @@
-% $Id: pstricks.sty 872 2018-12-21 20:39:31Z herbert $
+% $Id: pstricks.sty 1044 2019-04-11 09:32:09Z herbert $
%%
%% This is file `pstricks.sty'.
%%
@@ -37,10 +37,12 @@
\def\pst@ColorPackage{xcolor}
\DeclareOption{noxcolor}{\def\pst@ColorPackage{color}}
%
+\newif\ifpst@useCalc \pst@useCalcfalse
\newif\ifpst@psfonts \pst@psfontsfalse
\newif\if@check@engine \@check@enginetrue
\newif\ifpst@xetex \pst@xetexfalse
+\DeclareOption{useCalc}{\pst@useCalctrue}
\DeclareOption{psfonts}{\pst@psfontstrue}
\DeclareOption{noEngineCheck}{\@check@enginefalse}
\DeclareOption{xetex}{\global\pst@xetextrue}
@@ -80,6 +82,9 @@
\RequirePackage{iftex}
\RequirePackage{shellesc}
+\ifpst@useCalc
+ \RequirePackage{pst-calculate}
+\fi
%\ifPDFTeX
% \ifpdfshellescape\else
% \@latex@error