From 4731222142fb8eb709e5f954db3231ea1283eb63 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 23 Aug 2011 16:24:47 +0000 Subject: pst-node 1.20 (22aug11) git-svn-id: svn://tug.org/texlive/trunk@23658 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/generic/pst-node/Changes | 1 + .../doc/generic/pst-node/pst-node-doc.pdf | Bin 531834 -> 532338 bytes .../doc/generic/pst-node/pst-node-doc.tex | 6 ++--- .../texmf-dist/tex/generic/pst-node/pst-node.tex | 27 ++++++++++++--------- 4 files changed, 19 insertions(+), 15 deletions(-) (limited to 'Master') diff --git a/Master/texmf-dist/doc/generic/pst-node/Changes b/Master/texmf-dist/doc/generic/pst-node/Changes index a22b59e65e7..6f424fd41d8 100644 --- a/Master/texmf-dist/doc/generic/pst-node/Changes +++ b/Master/texmf-dist/doc/generic/pst-node/Changes @@ -1,4 +1,5 @@ ----- pst-node.tex +1.20 2011-08-20 - added \Pst@Debug tu suppress some \typeouts 1.19 2011-08-12 - added \psnode, which combines \rput and \rnode 1.18 2011-08-01 - bugfix for \shownode (ms) 1.17 2011-07-04 - added optional argument for \pnode for relative diff --git a/Master/texmf-dist/doc/generic/pst-node/pst-node-doc.pdf b/Master/texmf-dist/doc/generic/pst-node/pst-node-doc.pdf index da2da825f36..330ce6ec7be 100644 Binary files a/Master/texmf-dist/doc/generic/pst-node/pst-node-doc.pdf and b/Master/texmf-dist/doc/generic/pst-node/pst-node-doc.pdf differ diff --git a/Master/texmf-dist/doc/generic/pst-node/pst-node-doc.tex b/Master/texmf-dist/doc/generic/pst-node/pst-node-doc.tex index 5fd140aacdd..040b66746c4 100644 --- a/Master/texmf-dist/doc/generic/pst-node/pst-node-doc.tex +++ b/Master/texmf-dist/doc/generic/pst-node/pst-node-doc.tex @@ -1,4 +1,4 @@ -%% $Id: pst-node-doc.tex 557 2011-08-11 16:24:28Z herbert $ +%% $Id: pst-node-doc.tex 568 2011-08-20 08:15:04Z herbert $ \documentclass[11pt,english,BCOR10mm,DIV12,bibliography=totoc,parskip=false,smallheadings headexclude,footexclude,oneside]{pst-doc} \listfiles @@ -106,7 +106,7 @@ them in alignment environments. \LPack{pst-node} contains a special alignment environment, \Lenv{psmatrix}, which is designed for positioning nodes in a grid, such as in mathematical diagrams and some graphs. \Lcs{psmatrix} is described in Section \ref{S-psmatrix}. \LPack{pst-node} also contains high-level macros for -trees. These are described in Part~\ref{P-trees}. +trees. These are described in the documentation of \LPack{pst-tree}. But don't restrict yourself to these more obvious uses. For example: \begin{center} @@ -2148,7 +2148,7 @@ turn a list of coordinates into a node sequence P0 P1 ... \end{verbatim} \begin{LTXexample}[width=.35\textwidth] -\begin{pspicture}[showgrid=true](-.5,-.5)(2.5,2) +\begin{pspicture}[showgrid=true,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} diff --git a/Master/texmf-dist/tex/generic/pst-node/pst-node.tex b/Master/texmf-dist/tex/generic/pst-node/pst-node.tex index 1b13f3d60d8..6cf5dbb2984 100644 --- a/Master/texmf-dist/tex/generic/pst-node/pst-node.tex +++ b/Master/texmf-dist/tex/generic/pst-node/pst-node.tex @@ -1,4 +1,4 @@ -% $Id: pst-node.tex 557 2011-08-11 16:24:28Z herbert $ +% $Id: pst-node.tex 567 2011-08-20 08:07:42Z herbert $ %% BEGIN pst-node.tex %% %% Nodes with PSTricks. @@ -18,8 +18,8 @@ \ifx\PSTricksLoaded\endinput\else\input pstricks.tex \fi\relax \ifx\PSTXKeyLoaded\endinput\else \input pst-xkey \fi % -\def\fileversion{1.19} -\def\filedate{2011/08/12} +\def\fileversion{1.20} +\def\filedate{2011/08/20} \message{ v\fileversion, \filedate} % \edef\TheAtCode{\the\catcode`\@} @@ -1500,10 +1500,10 @@ end }}% \ifx\my@tempD\@empty\pstVerb{tx@Dict begin /Func (#3) cvx def end }%add tx@Dict \else\pstVerb{tx@Dict begin /Func (#3 ) AlgParser cvx def end }% \fi% - \multido{\i=0+1}{\pst@cntc}{% - \pnode(! /t #1 dt \i\space mul add def Func ){#4\i}}% remove t before Func - \expandafter\xdef \csname #4nodecount\endcsname {\psk@plotpoints}% - \typeout{Created nodes #40 .. #4\psk@plotpoints}% + \multido{\i=0+1}{\pst@cntc}{% + \pnode(! /t #1 dt \i\space mul add def Func ){#4\i}}% remove t before Func + \expandafter\xdef \csname #4nodecount\endcsname {\psk@plotpoints}% + \ifnum\Pst@Debug>0 \typeout{Created nodes #40 .. #4\psk@plotpoints}\fi% }\ignorespaces}% % \def\fnpnode{\pst@object{fnpnode}} @@ -1532,8 +1532,8 @@ end }}% \multido{\i=0+1}{\pst@cntc}{\pnode(!/x \pst@number\pst@dima\space def x #3){#4\i}% \advance\pst@dima \pst@dimb}% \fi% -\expandafter\xdef \csname \PST@root nodecount\endcsname {\the\pst@cnta} -\typeout{Created nodes #40 .. #4\the\pst@cnta}% + \expandafter\xdef \csname \PST@root nodecount\endcsname {\the\pst@cnta}% + \ifnum\Pst@Debug>0 \typeout{Created nodes #40 .. #4\the\pst@cnta}\fi% }\ignorespaces}% % \def\AtoB(#1)(#2)#3{\psLCNodeVar(#1)(#2)(-1,1){#3}} @@ -1583,12 +1583,15 @@ end }}% \def\pst@next{#2}% command to perform after reading list \getnext@Node}% % -\def\getnext@Node{\@ifnextchar({\getnext@Node@i}{\advance\pst@args by -1 \expandafter\xdef \csname \PST@root nodecount\endcsname {\the\pst@args} -\typeout{Created nodes \PST@root0 .. \PST@root\the\pst@args}\pst@next}}% +\def\getnext@Node{\@ifnextchar({\getnext@Node@i}% + {\advance\pst@args by \m@ne \expandafter\xdef \csname \PST@root nodecount\endcsname {\the\pst@args} + \ifnum\Pst@Debug>0 \typeout{Created nodes \PST@root0 .. \PST@root\the\pst@args}\fi% + \pst@next}% +}% % \def\getnext@Node@i(#1){% \pnode(#1){\PST@root\the\pst@args}% -\advance\pst@args by 1\relax% +\advance\pst@args by \@ne\relax% \getnext@Node}% % \def\psLCNodeVar(#1)(#2)(#3)#4{% -- cgit v1.2.3