diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/pstricks/pstricks.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/pstricks/pstricks.sty | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/Master/texmf-dist/tex/latex/pstricks/pstricks.sty b/Master/texmf-dist/tex/latex/pstricks/pstricks.sty index 4c84dde2182..eca5930bae4 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 4 2020-06-09 08:32:19Z herbert $ +% $Id: pstricks.sty 6 2020-06-10 18:50:14Z herbert $ %% %% This is file `pstricks.sty'. %% @@ -8,7 +8,7 @@ %% pstcol.sty Copyright (C) 1994-1996 1999 David Carlisle %% pstricks.sty Copyright (C) 2004- Rolf Niepraschk <Rolf.Niepraschk@gmx.de> %% Herbert Voss <hvoss@tug.org> -%% 2019- Herbert Voss <hvoss@tug.org> +%% 2019-current Herbert Voss <hvoss@tug.org> %% %% This package may be distributed under the terms of the LaTeX Project %% Public License, as described in lppl.txt in the base LaTeX distribution. @@ -17,7 +17,7 @@ \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{pstricks}[2018/12/21 v0.69 LaTeX wrapper for `PSTricks' (RN,HV)] +\ProvidesPackage{pstricks}[2020/06/11 v0.70 LaTeX wrapper for `PSTricks' (RN,HV)] % \def\documentclass{% \edef\@tempa{\jobname.tex }% @@ -34,6 +34,7 @@ \fi } % +\RequirePackage{iftex} \def\pst@ColorPackage{xcolor} \DeclareOption{noxcolor}{\def\pst@ColorPackage{color}} % @@ -41,10 +42,12 @@ \newif\ifpst@psfonts \pst@psfontsfalse \newif\if@check@engine \@check@enginetrue \newif\ifpst@xetex \pst@xetexfalse +\newif\ifpst@autopdf \pst@autopdffalse \DeclareOption{useCalc}{\pst@useCalctrue} \DeclareOption{psfonts}{\pst@psfontstrue} \DeclareOption{noEngineCheck}{\@check@enginefalse} +\DeclareOption{pdf}{\global\pst@autopdftrue} \DeclareOption{xetex}{\global\pst@xetextrue} % %---------------------------------DISTILLER -------------------------------- @@ -80,19 +83,10 @@ \ProcessOptions\relax -\RequirePackage{iftex} -\RequirePackage{shellesc} +%\RequirePackage{iftex} \ifpst@useCalc \RequirePackage{pst-calculate} \fi -%\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} @@ -105,7 +99,7 @@ \ProvidesFile{pst-fp.tex}[\filedate\space v\fileversion\space `PST-fp' (hv)] \IfFileExists{pstricks.pro}{% \ProvidesFile{pstricks.pro} - [2018/11/14 v. 1.29, PostScript prologue file (hv)] + [2020/06/09 v. 1.31, PostScript prologue file (hv)] \@addtofilelist{pstricks.pro}}{}% \IfFileExists{pst-algparser.pro}{% \ProvidesFile{pst-algparser.pro}[2011/10/31 v. 0.04, PostScript prologue file (hv)] @@ -248,5 +242,6 @@ \typeout{>>> Loading XeTeX special macros}% \input{pstricks-xetex.def}% \fi +\endinput % %% End of file `pstricks.sty'. |