summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/doc/generic/pstricks/pst-news20.pdfbin56052 -> 320406 bytes
-rw-r--r--Master/texmf-dist/doc/generic/pstricks/pst-news20.tex9
-rw-r--r--Master/texmf-dist/dvips/pstricks/pstricks.pro41
-rw-r--r--Master/texmf-dist/tex/generic/pstricks/pstricks.tex8
-rw-r--r--Master/texmf-dist/tex/latex/pstricks/pstricks-pdf.sty7
5 files changed, 51 insertions, 14 deletions
diff --git a/Master/texmf-dist/doc/generic/pstricks/pst-news20.pdf b/Master/texmf-dist/doc/generic/pstricks/pst-news20.pdf
index c3bdd08629c..b38ebe0f52a 100644
--- a/Master/texmf-dist/doc/generic/pstricks/pst-news20.pdf
+++ b/Master/texmf-dist/doc/generic/pstricks/pst-news20.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/generic/pstricks/pst-news20.tex b/Master/texmf-dist/doc/generic/pstricks/pst-news20.tex
index cf75126c9d9..00acba1ff2c 100644
--- a/Master/texmf-dist/doc/generic/pstricks/pst-news20.tex
+++ b/Master/texmf-dist/doc/generic/pstricks/pst-news20.tex
@@ -1,4 +1,4 @@
-%% $Id: pst-news20.tex 6 2020-06-10 18:50:14Z herbert $
+%% $Id: pst-news20.tex 23 2020-09-18 06:29:04Z herbert $
\documentclass[11pt,english,BCOR=10mm,DIV=12,bibliography=totoc,parskip=false,headings=small,
headinclude=false,footinclude=false,twoside]{scrartcl}
@@ -9,7 +9,7 @@
\usepackage{libertinus}
\usepackage[scaled=0.88]{beramono}
\usepackage{babel}
-\usepackage[svgnames,dvipsnames,x11names]{pstricks-pdf}
+\usepackage[svgnames,dvipsnames,x11names,pspdf=-dALLOWPSTRANSPARENCY]{pstricks-pdf}
\usepackage{pstricks-add}
\usepackage{biblatex}
@@ -115,6 +115,11 @@ for \Lcs{psgrid}:
The function \texttt{Grid} supports GridDX and GridDY.
+The current version 1.32 should handle transparency for all Ghostscript versions.
+For versions > 9.52 you need for \verb|ps2pdf| the optional argument \verb|-dALLOWPSTRANSPARENCY|
+instead of \verb|-dNOSAFER|, which is still needed if you want to write Postscript files from within
+the \TeX-run.
+
\nocite{*}
\printbibliography
diff --git a/Master/texmf-dist/dvips/pstricks/pstricks.pro b/Master/texmf-dist/dvips/pstricks/pstricks.pro
index 9ea39830feb..5c3cb6e755c 100644
--- a/Master/texmf-dist/dvips/pstricks/pstricks.pro
+++ b/Master/texmf-dist/dvips/pstricks/pstricks.pro
@@ -1,7 +1,7 @@
-% $Id: pstricks.pro 4 2020-06-09 08:32:19Z herbert $
+% $Id: pstricks.pro 23 2020-09-18 06:29:04Z herbert $
%
%% PostScript prologue for pstricks.tex.
-%% Version 1.30, 2018/12/17
+%% Version 1.32, 2020/09/18
%%
%% This program can be redistributed and/or modified under the terms
%% of the LaTeX Project Public License Distributed from CTAN archives
@@ -10,9 +10,40 @@
%
% Define the follwing gs-functions if not known, eg when using distiller
%
-systemdict /.setopacityalpha known not {/.setopacityalpha { pop } def } if
-systemdict /.setblendmode known not {/.setblendmode { pop } def } if
-systemdict /.setshapealpha known not {/.setshapealpha { pop } def } if
+
+revision 952 gt
+{
+ systemdict /.setalphaisshape known not
+ {
+ (\n\n%%%% WARNING: Transparency operations ignored - need to use -dALLOWPSTRANSPARENCY\n\n) print flush
+ /.pushpdf14devicefilter {pop} bind def
+ /.begintransparencygroup {pop pop pop pop pop} bind def
+ /.endtransparencygroup {} bind def
+ /.poppdf14devicefilter {} bind def
+ /.setfillconstantalpha {pop} bind def
+ /.setstrokeconstantalpha {pop} bind def
+ /PageUsesTransparency false def
+ }
+ {
+ systemdict /.setopacityalpha known not
+ { systemdict /.setfillconstantalpha known { /.setopacityalpha /.setfillconstantalpha load def } { /.setopacityalpha { pop } def } ifelse } if
+ systemdict /.setblendmode known not { /.setblendmode { pop } def } if
+ systemdict /.setshapealpha known not
+ { systemdict /.setstrokeconstantalpha known { /.setshapealpha {dup .setfillconstantalpha .setstrokeconstantalpha true .setalphaisshape } def } { /.setshapealpha { pop } def } ifelse } if
+ } ifelse
+}
+{
+ systemdict /.setopacityalpha known not
+ {
+ (\n\n%%%% WARNING: Transparency operations ignored - need to use -dNOSAFER\n\n) print flush
+ /.setopacityalpha { pop } bind def
+ /.setshapealpha { pop } bind def
+ } if
+} ifelse
+
+%%<bool> .setalphaisshape -
+%% If true, the values set by setstrokeconstantalpha and setfillconstantalpha are interpreted as shape values. The initial value of the AIS flag is false.
+
%
/tx@Dict 200 dict def % the main PSTricks dictionary
tx@Dict begin
diff --git a/Master/texmf-dist/tex/generic/pstricks/pstricks.tex b/Master/texmf-dist/tex/generic/pstricks/pstricks.tex
index 827e5d5d849..80be67ad6aa 100644
--- a/Master/texmf-dist/tex/generic/pstricks/pstricks.tex
+++ b/Master/texmf-dist/tex/generic/pstricks/pstricks.tex
@@ -1,7 +1,7 @@
%% pstricks.tex
%% COPYRIGHT 1993, 1994, 1999 by Timothy Van Zandt
%% COPYRIGHT 2000-2003 by Denis Girou.
-%% Copyright 2004-2019 Herbert Voss <hvoss@tug.org>
+%% Copyright 2004- by Herbert Voss <hvoss@tug.org>
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
@@ -80,8 +80,8 @@
\fi
\let\pgfforeach\foreach
%
-\def\fileversion{2.97}
-\def\filedate{2019/05/11}
+\def\fileversion{3.01}
+\def\filedate{2020/09/18}
\pst@addfams{pstricks}
%
%\define@boolkey[psset]{pstricks}[Pst@]{useURWfonts}[true]{}
@@ -1220,7 +1220,7 @@
\psset{linecap=0}
%------------------------- Transparency modes ----------------------------
\pst@def{setTransparency}< \psk@opacityalpha .setopacityalpha >
-\pst@def{setStrokeTransparency}< \psk@strokeopacityalpha .setopacityalpha >
+\pst@def{setStrokeTransparency}< \psk@strokeopacityalpha revision 952 gt { .setstrokeconstantalpha }{ .setopacityalpha } ifelse >
\pst@def{setBlendmode}<
\ifcase\psk@blendmode
/Normal \or
diff --git a/Master/texmf-dist/tex/latex/pstricks/pstricks-pdf.sty b/Master/texmf-dist/tex/latex/pstricks/pstricks-pdf.sty
index bbed5743017..9923109fbba 100644
--- a/Master/texmf-dist/tex/latex/pstricks/pstricks-pdf.sty
+++ b/Master/texmf-dist/tex/latex/pstricks/pstricks-pdf.sty
@@ -1,4 +1,4 @@
-% $Id: pstricks-pdf.sty 6 2020-06-10 18:50:14Z herbert $
+% $Id: pstricks-pdf.sty 23 2020-09-18 06:29:04Z herbert $
%%
%% This is file `pstricks-pdf.sty'.
%%
@@ -16,7 +16,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{pstricks-pdf}[2020/06/11 v0.01 creating pdf output (hv)]
+\ProvidesPackage{pstricks-pdf}[2020/06/11 v0.02 creating pdf output (hv)]
\RequirePackage{ifpdf,xkeyval,ifplatform}
\newif\if@app@off@
@@ -70,7 +70,8 @@
dvips={-Ppdf},
pdfcrop={},
cleanup={log,aux,dvi,ps,pdf},
- runs=1
+ runs=1,
+ pspdf={-dALLOWPSTRANSPARENCY},
}
\ifwindows
\ExecuteOptionsX{pspdf={}}