From 13b5d034ee114ccd6924a75a1c3c55fd708ff26b Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 12 May 2019 20:17:14 +0000 Subject: pstricks (12may19) git-svn-id: svn://tug.org/texlive/trunk@51102 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/pstricks/pstricks.sty | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Master/texmf-dist/tex/latex') 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 -- cgit v1.2.3