From 74697976d2ffe935077542593ccbb18a00603251 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 24 Oct 2022 03:03:39 +0000 Subject: CTAN sync 202210240303 --- graphics/pstricks/base/Changes | 5 +-- graphics/pstricks/base/doc/pst-news22.pdf | Bin 79990 -> 93124 bytes graphics/pstricks/base/doc/pst-news22.tex | 46 ++++++++++++++++------------ graphics/pstricks/base/dvips/pstricks.pro | 10 ++++-- graphics/pstricks/base/generic/pstricks.tex | 21 +++++++------ graphics/pstricks/base/latex/pstricks.sty | 7 +++-- 6 files changed, 53 insertions(+), 36 deletions(-) (limited to 'graphics/pstricks/base') diff --git a/graphics/pstricks/base/Changes b/graphics/pstricks/base/Changes index 64e75d7521..6f46436197 100644 --- a/graphics/pstricks/base/Changes +++ b/graphics/pstricks/base/Changes @@ -1,4 +1,4 @@ -% $Id: Changes 604 2022-09-11 14:17:36Z herbert $ +% $Id: Changes 644 2022-10-23 18:29:03Z herbert $ For all changes see file History! Here are only the last one changes listed. @@ -11,7 +11,8 @@ pstricks.tex -------- versions like 2.47a have only changes in other files, but not in this main package. -3.16 2022-09-11 - internal fix for an unneded tab character in \begingroup +3.17 2022-10-23 - fix for \pgfforeach +3.16 2022-09-11 - internal fix for an unneeded tab character in \begingroup 3.15 2022-09-11 - fix lualatex and pstricks code on the first page 3.14a 2022-09-08 - fix for wrong pro files 3.14 2022-08-30 - bugfix for \psdots* in pstricks-dots.tex diff --git a/graphics/pstricks/base/doc/pst-news22.pdf b/graphics/pstricks/base/doc/pst-news22.pdf index 92159f537f..fd93b6e939 100644 Binary files a/graphics/pstricks/base/doc/pst-news22.pdf and b/graphics/pstricks/base/doc/pst-news22.pdf differ diff --git a/graphics/pstricks/base/doc/pst-news22.tex b/graphics/pstricks/base/doc/pst-news22.tex index bfc5e2b7a1..9d8c674368 100644 --- a/graphics/pstricks/base/doc/pst-news22.tex +++ b/graphics/pstricks/base/doc/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/graphics/pstricks/base/dvips/pstricks.pro b/graphics/pstricks/base/dvips/pstricks.pro index 47e9fd6631..c25657b9b9 100644 --- a/graphics/pstricks/base/dvips/pstricks.pro +++ b/graphics/pstricks/base/dvips/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/graphics/pstricks/base/generic/pstricks.tex b/graphics/pstricks/base/generic/pstricks.tex index 244b469e50..9d741d115a 100644 --- a/graphics/pstricks/base/generic/pstricks.tex +++ b/graphics/pstricks/base/generic/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/graphics/pstricks/base/latex/pstricks.sty b/graphics/pstricks/base/latex/pstricks.sty index 30de94d110..6e256a7e05 100644 --- a/graphics/pstricks/base/latex/pstricks.sty +++ b/graphics/pstricks/base/latex/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