texlive[61838] Master/texmf-dist: pst-node (1feb22)
commits+karl at tug.org
commits+karl at tug.org
Tue Feb 1 23:07:31 CET 2022
Revision: 61838
http://tug.org/svn/texlive?view=revision&revision=61838
Author: karl
Date: 2022-02-01 23:07:31 +0100 (Tue, 01 Feb 2022)
Log Message:
-----------
pst-node (1feb22)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/generic/pst-node/Changes
trunk/Master/texmf-dist/doc/generic/pst-node/README
trunk/Master/texmf-dist/doc/generic/pst-node/pst-node-doc.bib
trunk/Master/texmf-dist/doc/generic/pst-node/pst-node-doc.pdf
trunk/Master/texmf-dist/doc/generic/pst-node/pst-node-doc.tex
trunk/Master/texmf-dist/dvips/pst-node/pst-node.pro
trunk/Master/texmf-dist/dvips/pst-node/pst-node97.pro
trunk/Master/texmf-dist/tex/generic/pst-node/pst-node.tex
trunk/Master/texmf-dist/tex/generic/pst-node/pst-node97.tex
trunk/Master/texmf-dist/tex/latex/pst-node/pst-node.sty
Modified: trunk/Master/texmf-dist/doc/generic/pst-node/Changes
===================================================================
--- trunk/Master/texmf-dist/doc/generic/pst-node/Changes 2022-02-01 22:06:48 UTC (rev 61837)
+++ trunk/Master/texmf-dist/doc/generic/pst-node/Changes 2022-02-01 22:07:31 UTC (rev 61838)
@@ -1,4 +1,5 @@
----- pst-node.tex
+1.43 2021-09-15 - fix for lualatex and empty value in \psk at nrot
1.42a 2020-04-01 - fix typo in the documentation
1.42 2019-03-03 - bugfix for \rnode inside \psframebox*
1.41 2017-12-30 - added \psnpolygon
Modified: trunk/Master/texmf-dist/doc/generic/pst-node/README
===================================================================
--- trunk/Master/texmf-dist/doc/generic/pst-node/README 2022-02-01 22:06:48 UTC (rev 61837)
+++ trunk/Master/texmf-dist/doc/generic/pst-node/README 2022-02-01 22:07:31 UTC (rev 61838)
@@ -4,6 +4,10 @@
Save the files pst-node.sty|.tex|.pro in a directory, which is part of your
local TeX node. Then do not forget to run texhash to update this node
if these packages are new to your TeX distribution.
+For more information see the documentation of your LaTeX distribution
+on installing packages into your LaTeX distribution or the
+TeX Frequently Asked Questions:
+(http://www.tex.ac.uk/cgi-bin/texfaq2html?label=instpackages).
pst-node needs pstricks, which should be part of your
local TeX installation, otherwise get it from a CTAN server, f.ex.
@@ -17,4 +21,4 @@
%% of the LaTeX Project Public License Distributed from CTAN
%% archives in directory macros/latex/base/lppl.txt.
-hvoss at tug.org
\ No newline at end of file
+hvoss at tug.org
Modified: trunk/Master/texmf-dist/doc/generic/pst-node/pst-node-doc.bib
===================================================================
--- trunk/Master/texmf-dist/doc/generic/pst-node/pst-node-doc.bib 2022-02-01 22:06:48 UTC (rev 61837)
+++ trunk/Master/texmf-dist/doc/generic/pst-node/pst-node-doc.bib 2022-02-01 22:07:31 UTC (rev 61838)
@@ -1,6 +1,22 @@
%% -*-bibtex-*-
@STRING{tugboat = {TUGboat} }
@STRING{dtk = {{D}ie {\TeX}nische {K}om{\"o}die} }
+ at STRING{beiprogramm = {{\TeX}-Beiprogramm}}
+ at STRING{bretter = {Bretter, die die Welt bedeuten}}
+ at STRING{editorial = {Editorial}}
+ at STRING{fremdebuehne = {Von fremden Bühnen}}
+ at STRING{fundus = {Aus dem Fundus}}
+ at STRING{grusswort = {Grußwort}}
+ at STRING{hinterbuehne = {Hinter der Bühne}}
+ at STRING{komascript = {\KOMAScript}}
+ at STRING{leserbriefe = {Leserbriefe}}
+ at STRING{magazin = {Magazin}}
+ at STRING{rezensionen = {Bücher und Rezensionen}}
+ at STRING{schonimmer = {Was Sie schon immer über {\TeX} wissen wollten, \dots}}
+ at STRING{spielplan = {Spielplan}}
+ at STRING{theaterkasse = {Von der Theaterkasse}}
+ at STRING{theatertage = {{\TeX}-Theatertage}}
+ at STRING{tippstricks = {Tipps und Tricks}}
@Book{companion,
author = {Michel Goosens and Frank Mittelbach and Sebastian Rahtz and Dennis Roegel and Herbert Voß},
Modified: trunk/Master/texmf-dist/doc/generic/pst-node/pst-node-doc.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/generic/pst-node/pst-node-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/generic/pst-node/pst-node-doc.tex 2022-02-01 22:06:48 UTC (rev 61837)
+++ trunk/Master/texmf-dist/doc/generic/pst-node/pst-node-doc.tex 2022-02-01 22:07:31 UTC (rev 61838)
@@ -1,4 +1,6 @@
-%% $Id: pst-node-doc.tex 1164 2020-04-01 09:12:28Z herbert $
+\RequirePackage{pdfmanagement-testphase}
+\DeclareDocumentMetadata{}
+%% $Id: pst-node-doc.tex 438 2022-01-31 17:45:26Z herbert $
\documentclass[fontsize=11pt,english,BCOR=10mm,DIV=12,bibliography=totoc,parskip=false,headings=small,
headinclude=false,footinclude=false,oneside]{pst-doc}
\listfiles
@@ -6,7 +8,7 @@
\input{pst-node}
\let\pstFV\fileversion
-\usepackage[utf8]{inputenc}
+%\usepackage[utf8]{inputenc}
\usepackage{pst-plot}
\let\belowcaptionskip\abovecaptionskip
%
@@ -14,8 +16,8 @@
\newcommand\psBox[3][white]{\rput(#2){\rnode{#2}{%
\psframebox[fillcolor=#1]{\xstrut\makebox[3.2cm]{\tabular{c}#3\endtabular}}}}}
\def\bgImage{%
-\psscalebox{0.85}{%
-\begin{pspicture}(-1,-1)(21,7)
+\psscalebox{0.75}{%
+\begin{pspicture}(-1,-1)(20,7)
\psset{framearc=0.2,shadow,fillstyle=solid,shadowcolor=black!55}
\psBox[blue!30]{7,6}{politische\\Kommunikation}
\psBox[red!30]{3,4}{interpersonale\\Kommunikation}
@@ -57,7 +59,7 @@
\author{Timothy Van Zandt\\Michael Sharpe\\Herbert Vo\ss}
\date{\today}
-\maketitle
+\settitle
\begin{abstract}
This version of \LPack{pst-node} uses the extended keyval handling
@@ -2438,15 +2440,18 @@
which represents a unit vector in the tangent direction to the curve at \texttt{P}.
The expression in \texttt{t} in this case is algebraic, which is detected automatically by the macro.
+
\begin{LTXexample}[width=.35\textwidth]
\begin{pspicture}[showgrid](-.5,-.5)(2.5,2)
-\def\exn{cos(t) | sin(t)}
-\psparametricplot[algebraic]{0}{2}{\exn}
-\curvepnode{1}{\exn}{P}
-\psdot(P)\uput[45](P){P}
+\def\exnA{cos(t) | sin(t)}
+\psparametricplot[algebraic]{0}{2}{\exnA}
+\curvepnode{1}{\exnA}{D}
+\psdot(D)\uput[45](D){D}
\end{pspicture}
\end{LTXexample}
+
\vspace{2pc}
+
\begin{BDef}
\Lcs{psparnode}\Largb{t}\Largb{expression in t}\Largb{<nodename>}
@@ -2475,15 +2480,16 @@
\begin{LTXexample}[width=.35\textwidth]
\begin{pspicture}[showgrid](-.5,-.5)(2.5,3)
-\def\exn{t+t^2 | 2*Ex(-t)}
+\def\exnB{t+t^2 | 2*Ex(-t)}
\psset{plotpoints=100}
-\psparametricplot[algebraic]{0}{1}{\exn}
-\curvepnodes{0}{1}{\exn}{P}
-\psdot(P50)\uput[75](P50){P50}
-\psdot(P99)\uput[75](P99){P99}
+\psparametricplot[algebraic]{0}{1}{ \exnB }
+\curvepnodes{0}{1}{ \exnB }{Q}
+\psdot(Q50)\uput[75](Q50){Q50}
+\psdot(Q99)\uput[75](Q99){Q99}
\end{pspicture}
\end{LTXexample}
+
\begin{BDef}
\Lcs{fnpnode}\Largb{xval}\Largb{expression in x}\Largb{nodename}
@@ -2505,10 +2511,10 @@
\begin{LTXexample}[width=.35\textwidth]
\begin{pspicture}[showgrid](-.5,-.5)(2.5,3)
-\def\exn{x x 1 add mul 2 div}
-\psplot{0}{2}{\exn}
-\fnpnode{0.5}{\exn}{Q}
-\psdot(Q)\uput[-45](Q){Q}
+\def\exnC{x x 1 add mul 2 div}
+\psplot{0}{2}{\exnC}
+\fnpnode{0.5}{\exnC}{R}
+\psdot(R)\uput[-45](R){R}
\end{pspicture}
\end{LTXexample}
\vspace{2pc}
@@ -2521,11 +2527,13 @@
Is similar to \Lcs{curvenodes}, but for the graph of a function. The keyword \Lkeyword{algebraic}
must be specified if your expression is indeed algebraic.
+
+
\begin{LTXexample}[width=.35\textwidth]
\begin{pspicture}[showgrid](-.5,-.5)(2.5,3)
-\def\exn{x x 1 add mul 2 div}
-\psplot{0}{2}{\exn}
-\fnpnodes[plotpoints=10]{0}{2}{\exn}{A}
+\def\exnD{x x 1 add mul 2 div}
+\psplot{0}{2}{\exnD}
+\fnpnodes[plotpoints=10]{0}{2}{\exnD}{A}
\psdot(A4)\uput[-45](A4){A4}
\end{pspicture}
\end{LTXexample}
@@ -2551,6 +2559,8 @@
is effectively \Lcs{getnodelist}\Largb{P}\Largb{}\verb|(1,2)(2;3)...|, just a quick way to
turn a list of coordinates into a node sequence P0 P1 ...
+
+
\begin{BDef}
\Lcs{psnline}\OptArgs\Largb{arrows}\Largr{coors}\Largb{name}
\end{BDef}
@@ -2563,9 +2573,9 @@
\begin{LTXexample}[width=.35\textwidth]
\begin{pspicture}[showgrid,algebraic](-.5,-.5)(2.5,2)
-\pnodes{P}(.1,.1)(1;10)(*2 {x^2/4})(0,1.4)
-%defines P0..P3--now join them
-\psnline[arrowscale=2]{-D>}(0,3){P}
+\pnodes{B}(.1,.1)(1;10)(*2 {x^2/4})(0,1.4)
+%definesuP0..P3--now join them
+\psnline[arrowscale=2]{-D>}(0,3){B}
\end{pspicture}
\end{LTXexample}
\vspace{2pc}
@@ -2579,16 +2589,21 @@
\pspolygon[linewidth=1pt]{->}(P3)(P4)(P5)(P6)(P7)(P8)
\end{verbatim}
+
Conversion between any angle unit and degree unit
+%\makeatletter
+%\def\pst at par{}
+%\makeatother
+
\begin{LTXexample}[pos=t,vsep=1cm]
\begin{pspicture}[showgrid=b](-2,-2)(2,2)
\def\N{9 }%
\degrees[\N]
-\curvepnodes[plotpoints=\numexpr\N+1]{0}{\N AnytoDeg}{t dup cos exch sin}{P}
-\psnpolygon(0,\numexpr\Pnodecount-1){P}
-\foreach \i in {0,1,...,\numexpr\Pnodecount-1}{%
- \uput{6pt}[\i]{!\i\space 90 DegtoAny sub}(P\i){\psline{->}(0,12pt)}}
+\curvepnodes[plotpoints=\numexpr\N+1]{0}{\N AnytoDeg}{t dup cos exch sin}{C}
+\psnpolygon(0,\numexpr\Cnodecount-1){C}
+\foreach \i in {0,1,...,\numexpr\Cnodecount-1}{%
+ \uput{6pt}[\i]{!\i\space 90 DegtoAny sub}(C\i){\psline{->}(0,12pt)}}
\end{pspicture}
\end{LTXexample}
@@ -2600,17 +2615,15 @@
\begin{pspicture}[showgrid=b](-2,-2)(2,2)
\def\N{9 }%
\degrees[\N]
-\curvepnodes[plotpoints=\numexpr\N+1]{0}{\N AnytoRad}{cos(t)|sin(t)}{P}
-\psnpolygon(0,\numexpr\Pnodecount-1){P}
-\foreach \i in {0,1,...,\numexpr\Pnodecount-1}{%
- \uput{6pt}[\i]{!\i\space Pi 2 div RadtoAny sub}(P\i){\psline{->}(0,12pt)}}
+\curvepnodes[plotpoints=\numexpr\N+1]{0}{\N AnytoRad}{cos(t)|sin(t)}{D}
+\psnpolygon(0,\numexpr\Dnodecount-1){D}
+\foreach \i in {0,1,...,\numexpr\Dnodecount-1}{%
+ \uput{6pt}[\i]{!\i\space Pi 2 div RadtoAny sub}(D\i){\psline{->}(0,12pt)}}
\end{pspicture}
\end{LTXexample}
-
-
\begin{BDef}
\Lcs{psncurve}\OptArgs\Largb{arrows}\Largr{coors}\Largb{name}
\end{BDef}
Modified: trunk/Master/texmf-dist/dvips/pst-node/pst-node.pro
===================================================================
--- trunk/Master/texmf-dist/dvips/pst-node/pst-node.pro 2022-02-01 22:06:48 UTC (rev 61837)
+++ trunk/Master/texmf-dist/dvips/pst-node/pst-node.pro 2022-02-01 22:07:31 UTC (rev 61838)
@@ -1,4 +1,4 @@
-% $Id: pst-node.pro 395 2017-03-21 09:24:38Z herbert $
+% $Id: pst-node.pro 438 2022-01-31 17:45:26Z herbert $
%%
%% PostScript prologue for pst-node.tex.
%% Version 1.15, 2014/01/27.
Modified: trunk/Master/texmf-dist/dvips/pst-node/pst-node97.pro
===================================================================
--- trunk/Master/texmf-dist/dvips/pst-node/pst-node97.pro 2022-02-01 22:06:48 UTC (rev 61837)
+++ trunk/Master/texmf-dist/dvips/pst-node/pst-node97.pro 2022-02-01 22:07:31 UTC (rev 61838)
@@ -1,5 +1,5 @@
%!
-% $Id: pst-node97.pro 68 2014-08-07 10:16:26Z herbert $
+% $Id: pst-node97.pro 438 2022-01-31 17:45:26Z herbert $
% PostScript prologue for pst-node.tex.
% Created 1993/3/12. Source file was pst-node.doc
% Version 0.93a, 93/03/12.
Modified: trunk/Master/texmf-dist/tex/generic/pst-node/pst-node.tex
===================================================================
--- trunk/Master/texmf-dist/tex/generic/pst-node/pst-node.tex 2022-02-01 22:06:48 UTC (rev 61837)
+++ trunk/Master/texmf-dist/tex/generic/pst-node/pst-node.tex 2022-02-01 22:07:31 UTC (rev 61838)
@@ -1,4 +1,4 @@
-% $Id: pst-node.tex 1164 2020-04-01 09:12:28Z herbert $
+% $Id: pst-node.tex 438 2022-01-31 17:45:26Z herbert $
%%
%% BEGIN pst-node.tex
%%
@@ -18,8 +18,8 @@
\ifx\PSTricksLoaded\endinput\else\input pstricks.tex \fi\relax
\ifx\PSTXKeyLoaded\endinput\else \input pst-xkey \fi
%
-\def\fileversion{1.42a}
-\def\filedate{2020/04/01}
+\def\fileversion{1.43}
+\def\filedate{2022/01/31}
\message{ v\fileversion, \filedate}
%
\edef\TheAtCode{\the\catcode`\@}
@@ -838,11 +838,17 @@
\def\ncput{\pst at object{ncput}}
\def\ncput at i{\pst at killglue\pst at makebox{\ncput at ii}}
\def\ncput at ii{%
- \begingroup%
- \use at par%
+ \begingroup
+ \use at par
\if at star\pst at starbox\fi%
\pst at makesmall\pst at hbox%
- \pst at rotate\psk at nrot\pst at hbox%
+ \expandafter\ifx\expandafter\relax\psk at nrot\relax\else% prevent empty value for \psk at rot
+ \ifPSTlualatex
+ \pst at rotate{\psk at nrot\space neg }\pst at hbox
+ \else
+ \pst at rotate{\psk at nrot}\pst at hbox
+ \fi
+ \fi
\ncput at iii%
\endgroup%
\pst at shortput}
Modified: trunk/Master/texmf-dist/tex/generic/pst-node/pst-node97.tex
===================================================================
--- trunk/Master/texmf-dist/tex/generic/pst-node/pst-node97.tex 2022-02-01 22:06:48 UTC (rev 61837)
+++ trunk/Master/texmf-dist/tex/generic/pst-node/pst-node97.tex 2022-02-01 22:07:31 UTC (rev 61838)
@@ -1,4 +1,4 @@
-% $Id: pst-node97.tex 834 2018-11-06 18:32:42Z herbert $
+% $Id: pst-node97.tex 438 2022-01-31 17:45:26Z herbert $
%% BEGIN: pst-node.tex
%% Generated on <1993/3/12> from `pst-node.doc'.
%% For use with the PostScript header file `pst-node.pro'.
Modified: trunk/Master/texmf-dist/tex/latex/pst-node/pst-node.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pst-node/pst-node.sty 2022-02-01 22:06:48 UTC (rev 61837)
+++ trunk/Master/texmf-dist/tex/latex/pst-node/pst-node.sty 2022-02-01 22:07:31 UTC (rev 61838)
@@ -1,4 +1,4 @@
-% $Id: pst-node.sty 688 2017-12-14 13:08:41Z herbert $
+% $Id: pst-node.sty 438 2022-01-31 17:45:26Z herbert $
%%
%% This is file `pst-node.sty'.
%%
More information about the tex-live-commits
mailing list.