diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/pstricks/pstricks.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/pstricks/pstricks.sty | 64 |
1 files changed, 24 insertions, 40 deletions
diff --git a/Master/texmf-dist/tex/latex/pstricks/pstricks.sty b/Master/texmf-dist/tex/latex/pstricks/pstricks.sty index 9cb20210519..6d2703b2ba8 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 554 2017-09-17 19:04:49Z herbert $ +% $Id: pstricks.sty 446 2017-04-19 11:40:55Z herbert $ %% %% This is file `pstricks.sty'. %% @@ -17,7 +17,7 @@ \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{pstricks}[2017/09/17 v0.65 LaTeX wrapper for `PSTricks' (RN,HV)] +\ProvidesPackage{pstricks}[2017/03/17 v0.63 LaTeX wrapper for `PSTricks' (RN,HV)] % \def\documentclass{% \edef\@tempa{\jobname.tex }% @@ -40,9 +40,7 @@ %---------------------------------DISTILLER -------------------------------- \newif\ifpst@distiller\pst@distillerfalse \DeclareOption{distiller}{\pst@distillertrue} -% -\newif\ifpst@psfonts\pst@psfontsfalse -\DeclareOption{psfonts}{\pst@psfontstrue} + %---------------------------------COLOR -------------------------------- \DeclareOption{monochrome}{% \AtBeginDocument{\special{ps: @@ -67,16 +65,6 @@ \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} @@ -84,11 +72,11 @@ \let\saved@scalebox\scalebox \input{pstricks}% \ProvidesFile{pstricks.tex}[\filedate\space v\fileversion\space `PSTricks' (tvz,hv)] - \input{pst-fp.tex}% + \input{pst-fp.tex} \ProvidesFile{pst-fp.tex}[\filedate\space v\fileversion\space `PST-fp' (hv)] \IfFileExists{pstricks.pro}{% \ProvidesFile{pstricks.pro} - [2017/09/12 v. 1.25, PostScript prologue file (hv)] + [2012/10/16 v. 1.15, 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)] @@ -109,29 +97,25 @@ [ /ca \psk@strokeopacityalpha /CA \psk@strokeopacityalpha /SetTransparency pdfmark > \pst@def{setBlendmode}< - [ /BM% - \ifcase\psk@blendmode - /Normal \or - /Compatible \or - /Screen \or - /Multiply \or - /HardLight \or - /Darken \or - /Lighten \or - /Difference \or - /ColorDodge \or - /ColorBurn \or - /SoftLight \or - /Hue \or - /Saturation \or - /Luminosity \or - /Overlay \or - /Exclusion \or - /Color - \else - /Normal - \fi - /ca \psk@shapealpha /CA \psk@opacityalpha /SetTransparency pdfmark > + [ /BM\ifcase\psk@blendmode% + /Normal \or % 0 + /Multiply \or % 1 + /Screen \or % 2 + /Overlay \or % 3 + /Darken \or % 4 + /Lighten \or % 5 + /ColorDodge \or % 6 + /ColorBurn \or % 7 + /HardLight \or % 8 + /SoftLight \or % 9 + /Difference \or % 10 + /Exclusion \or % 11 + /Hue \or % 12 + /Color \or % 13 + /Saturation \or % 14 + /Luminosity % 15 + \else /Normal \fi + /ca \psk@shapealpha /CA \psk@opacityalpha /SetTransparency pdfmark >% \fi % \@ifpackageloaded{xcolor}{% |