texlive[56385] Master/texmf-dist: pstricks (20sep20)
commits+karl at tug.org
commits+karl at tug.org
Sun Sep 20 23:07:27 CEST 2020
Revision: 56385
http://tug.org/svn/texlive?view=revision&revision=56385
Author: karl
Date: 2020-09-20 23:07:26 +0200 (Sun, 20 Sep 2020)
Log Message:
-----------
pstricks (20sep20)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/generic/pstricks/pst-news20.pdf
trunk/Master/texmf-dist/doc/generic/pstricks/pst-news20.tex
trunk/Master/texmf-dist/dvips/pstricks/pstricks.pro
trunk/Master/texmf-dist/tex/generic/pstricks/pstricks.tex
trunk/Master/texmf-dist/tex/latex/pstricks/pstricks-pdf.sty
Modified: trunk/Master/texmf-dist/doc/generic/pstricks/pst-news20.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/generic/pstricks/pst-news20.tex
===================================================================
--- trunk/Master/texmf-dist/doc/generic/pstricks/pst-news20.tex 2020-09-20 21:07:09 UTC (rev 56384)
+++ trunk/Master/texmf-dist/doc/generic/pstricks/pst-news20.tex 2020-09-20 21:07:26 UTC (rev 56385)
@@ -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,7 +115,12 @@
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
Modified: trunk/Master/texmf-dist/dvips/pstricks/pstricks.pro
===================================================================
--- trunk/Master/texmf-dist/dvips/pstricks/pstricks.pro 2020-09-20 21:07:09 UTC (rev 56384)
+++ trunk/Master/texmf-dist/dvips/pstricks/pstricks.pro 2020-09-20 21:07:26 UTC (rev 56385)
@@ -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 at Dict 200 dict def % the main PSTricks dictionary
tx at Dict begin
Modified: trunk/Master/texmf-dist/tex/generic/pstricks/pstricks.tex
===================================================================
--- trunk/Master/texmf-dist/tex/generic/pstricks/pstricks.tex 2020-09-20 21:07:09 UTC (rev 56384)
+++ trunk/Master/texmf-dist/tex/generic/pstricks/pstricks.tex 2020-09-20 21:07:26 UTC (rev 56385)
@@ -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 at tug.org>
+%% Copyright 2004- by Herbert Voss <hvoss at 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 at addfams{pstricks}
%
%\define at boolkey[psset]{pstricks}[Pst@]{useURWfonts}[true]{}
@@ -1220,7 +1220,7 @@
\psset{linecap=0}
%------------------------- Transparency modes ----------------------------
\pst at def{setTransparency}< \psk at opacityalpha .setopacityalpha >
-\pst at def{setStrokeTransparency}< \psk at strokeopacityalpha .setopacityalpha >
+\pst at def{setStrokeTransparency}< \psk at strokeopacityalpha revision 952 gt { .setstrokeconstantalpha }{ .setopacityalpha } ifelse >
\pst at def{setBlendmode}<
\ifcase\psk at blendmode
/Normal \or
Modified: trunk/Master/texmf-dist/tex/latex/pstricks/pstricks-pdf.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pstricks/pstricks-pdf.sty 2020-09-20 21:07:09 UTC (rev 56384)
+++ trunk/Master/texmf-dist/tex/latex/pstricks/pstricks-pdf.sty 2020-09-20 21:07:26 UTC (rev 56385)
@@ -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 at app@off@
@@ -70,7 +70,8 @@
dvips={-Ppdf},
pdfcrop={},
cleanup={log,aux,dvi,ps,pdf},
- runs=1
+ runs=1,
+ pspdf={-dALLOWPSTRANSPARENCY},
}
\ifwindows
\ExecuteOptionsX{pspdf={}}
More information about the tex-live-commits
mailing list.