summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/pstricks
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/pstricks')
-rw-r--r--Master/texmf-dist/tex/latex/pstricks/pstricks.sty12
1 files changed, 11 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/pstricks/pstricks.sty b/Master/texmf-dist/tex/latex/pstricks/pstricks.sty
index 6d2703b2ba8..28e511fb174 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 446 2017-04-19 11:40:55Z herbert $
+% $Id: pstricks.sty 474 2017-06-15 16:40:57Z herbert $
%%
%% This is file `pstricks.sty'.
%%
@@ -65,6 +65,16 @@
\DeclareOption*{\PassOptionsToPackage\CurrentOption{\pst@ColorPackage}}
\ProcessOptions\relax
+\RequirePackage{iftex}
+\RequirePackage{shellesc}
+%\ifPDFTeX
+% \ifpdfshellescape\else
+% \@latex@error
+% {You are running `\jobname.tex' with pdflatex and without option `--shell-escape' ,\MessageBreak
+% you need package auto-pst-pdf and that option!}%
+% {Alternatively use xelatex or latex->dvips->ps2pdf}
+% \fi
+%\fi
\RequirePackage{\pst@ColorPackage}
%
\@ifundefined{PSTricksLoaded}