diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/pstricks/pstricks.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/pstricks/pstricks.sty | 7 |
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 |