From 9d99b8df2e57361eb63fa8bb59f3c0491ffe1218 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 23 Oct 2022 20:36:42 +0000 Subject: pstricks (23oct22) git-svn-id: svn://tug.org/texlive/trunk@64789 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/doc/generic/pstricks/pst-news22.pdf | Bin 79990 -> 93124 bytes .../texmf-dist/doc/generic/pstricks/pst-news22.tex | 46 ++++++++++++--------- Master/texmf-dist/dvips/pstricks/pstricks.pro | 10 +++-- .../texmf-dist/tex/generic/pstricks/pstricks.tex | 21 ++++++---- Master/texmf-dist/tex/latex/pstricks/pstricks.sty | 7 ++-- 5 files changed, 50 insertions(+), 34 deletions(-) diff --git a/Master/texmf-dist/doc/generic/pstricks/pst-news22.pdf b/Master/texmf-dist/doc/generic/pstricks/pst-news22.pdf index 92159f537fe..fd93b6e9393 100644 Binary files a/Master/texmf-dist/doc/generic/pstricks/pst-news22.pdf and b/Master/texmf-dist/doc/generic/pstricks/pst-news22.pdf differ diff --git a/Master/texmf-dist/doc/generic/pstricks/pst-news22.tex b/Master/texmf-dist/doc/generic/pstricks/pst-news22.tex index bfc5e2b7a12..9d8c6743688 100644 --- a/Master/texmf-dist/doc/generic/pstricks/pst-news22.tex +++ b/Master/texmf-dist/doc/generic/pstricks/pst-news22.tex @@ -1,4 +1,4 @@ -%% $Id: pst-news22.tex 595 2022-08-30 18:08:22Z herbert $ +%% $Id: pst-news21.tex 382 2021-12-29 19:19:18Z herbert $ \RequirePackage{pdfmanagement-testphase} \DeclareDocumentMetadata{} \documentclass[11pt,english,BCOR=10mm,DIV=12,bibliography=totoc,parskip=false,headings=small, @@ -27,35 +27,43 @@ \part{\texttt{pstricks} -- package} +This version of the News was run with \verb|lualatex| \emph{without} using Ghostscript. +The PDF file was created in a direkt way by Lua. If you run \texttt{lualatex} then the +packahe \texttt{luapstricks} is automatically loaded. + + +%-------------------------------------------------------------------------------------- +\section{\texttt{pstricks.sty}} +%-------------------------------------------------------------------------------------- +The optional argument \texttt{gsfonts} can be used to load only the symbol font from GhostScript. +Otherwise the one from URW or the system is used, which is the default. + + %-------------------------------------------------------------------------------------- -\section{\texttt{pstricks.tex} (v. 3.14 -- 2022/08/30)} +\section{\texttt{pstricks.tex} (v. 3.17 -- 2022/10/22)} %-------------------------------------------------------------------------------------- -Bugfix for \Lcs{psdots*}: -\begin{LTXexample}[width=5cm] -\begin{pspicture}[showgrid=true](3,2) - \psdot[dotstyle=pentagon,dotscale=5](1.5,1.5) - \psdots[dotsize=.4cm,dotstyle=square, - linecolor=red](0,0)(0.5,0)(1,1)(1.5,1)(2,2)(2.5,2) - \psdots*(2.5,0.6)\psdot(2.5,0.2) -\end{pspicture} -\end{LTXexample} +\subsection{pgf library} +This version fixes a problem with the upcoming pgf from which PSTricks uses the \Lcs{foreach} +command as \Lcs{pgfforeach}. -\begin{LTXexample}[width=5cm] -\begin{pspicture}[showgrid=true](3,2) - \psdot*[dotstyle=pentagon,dotscale=5](1.5,1.5) - \psdots*[dotsize=.4cm,dotstyle=square, - linecolor=red](0,0)(0.5,0)(1,1)(1.5,1)(2,2)(2.5,2) - \psdots*(2.5,0.6)\psdot(2.5,0.2) -\end{pspicture} -\end{LTXexample} +\subsection{Arrows} +There are new arrow types and a new optional argument \Lkeyword{tipcolor}. +Checking \Lkeyword{tipcolor} can be suppressed by setting +\begin{verbatim} +\makeatletter +\ps@check@tipcplor{} +\makeatother +\end{verbatim} +This is only needed in some rare cases, e.g. \Lcs{pscustom} with \Lcs{code} and +color setting on PS level. \nocite{*} diff --git a/Master/texmf-dist/dvips/pstricks/pstricks.pro b/Master/texmf-dist/dvips/pstricks/pstricks.pro index 47e9fd66319..c25657b9b90 100644 --- a/Master/texmf-dist/dvips/pstricks/pstricks.pro +++ b/Master/texmf-dist/dvips/pstricks/pstricks.pro @@ -1,4 +1,4 @@ -% $Id: pstricks.pro 407 2022-01-12 17:06:33Z herbert $ +% $Id: pstricks.pro 615 2022-09-22 08:39:26Z herbert $ % %% PostScript prologue for pstricks.tex. %% Version 1.41, 2021/11/16 @@ -379,7 +379,7 @@ tx@Dict begin % % /TruchetFill { % on stack: scaling factor - 10 dict begin + 20 dict begin dup dup scale 1 exch div round /penroseFactor ED a 0 dtransform round exch round exch @@ -445,7 +445,11 @@ tx@Dict begin { 0 h T 1 -1 scale } if w neg h moveto 0 0 L w h L w neg a neg rlineto - gsave fill grestore + gsave +% gsave w neg h lineto CLW 0.5 add setlinewidth % test für border beim Pfeil +% 1 setgray 0 setlinejoin closepath stroke +% grestore + fill grestore } def % /ArrowD { % the sides are drawn as curves (hv 20071211) diff --git a/Master/texmf-dist/tex/generic/pstricks/pstricks.tex b/Master/texmf-dist/tex/generic/pstricks/pstricks.tex index 244b469e503..9d741d115ac 100644 --- a/Master/texmf-dist/tex/generic/pstricks/pstricks.tex +++ b/Master/texmf-dist/tex/generic/pstricks/pstricks.tex @@ -74,15 +74,18 @@ %\@ifnextchar[\ProvidesPackageRCS@i{\ProvidesPackageRCS@i[] }}%$ %\def\ProvidesPackageRCS@i[#1]#2{} -\ifx\pgfkeysloaded\relax\else - \input pgfutil-common.tex - \input pgfkeys.code.tex - \input pgffor.code.tex +\ifx\pgfkeysloaded\relax\else + \ifdefined\@latexerr % format is latex + \RequirePackage{pgffor} % pgffor depends on pgfkeys + \else % format is plaintex + \input pgffor.tex + \fi \fi + \let\pgfforeach\foreach % -\def\fileversion{3.16} -\def\filedate{2022/09/11} +\def\fileversion{3.17} +\def\filedate{2022/10/23} \pst@addfams{pstricks} % %\define@boolkey[psset]{pstricks}[Pst@]{useURWfonts}[true]{} @@ -1486,9 +1489,9 @@ \ignorespaces% } \def\begin@OpenObj{% - \begin@ClosedObj% - \let\pst@linetype\pst@arrowtype% - \pst@addarrowdef% + \begin@ClosedObj + \let\pst@linetype\pst@arrowtype + \pst@addarrowdef } \def\begin@AltOpenObj{% \begin@ClosedObj diff --git a/Master/texmf-dist/tex/latex/pstricks/pstricks.sty b/Master/texmf-dist/tex/latex/pstricks/pstricks.sty index 30de94d1109..6e256a7e059 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 262 2021-09-24 09:02:54Z herbert $ +% $Id: pstricks.sty 644 2022-10-23 18:29:03Z herbert $ %% %% This is file `pstricks.sty'. %% @@ -17,7 +17,8 @@ \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{pstricks}[2021/08/23 v0.71 LaTeX wrapper for `PSTricks' (RN,HV)] + +\ProvidesPackage{pstricks}[2022/19/23 v0.72 LaTeX wrapper for `PSTricks' (RN,HV)] % \def\documentclass{% \edef\@tempa{\jobname.tex }% @@ -99,7 +100,7 @@ \ProvidesFile{pst-fp.tex}[\filedate\space v\fileversion\space `PST-fp' (hv)] \IfFileExists{pstricks.pro}{% \ProvidesFile{pstricks.pro} - [2020/06/09 v. 1.31, PostScript prologue file (hv)] + [2020/11/16 v. 1.41, 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)] -- cgit v1.2.3