diff options
author | Karl Berry <karl@freefriends.org> | 2011-08-12 22:50:39 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-08-12 22:50:39 +0000 |
commit | 7eac940f377be3fe2a1acc78987b724dab6b0b22 (patch) | |
tree | 2233690859f2f8303218ece9c3bafb347f041d81 /Master/texmf-dist/tex/generic/pst-node | |
parent | 2861c2eba421a537928ba481e702ae082740c465 (diff) |
pst-node 1.19 (12aug11)
git-svn-id: svn://tug.org/texlive/trunk@23515 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/pst-node')
-rw-r--r-- | Master/texmf-dist/tex/generic/pst-node/pst-node.tex | 13 |
1 files changed, 10 insertions, 3 deletions
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 b88dc66e950..1b13f3d60d8 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 533 2011-07-09 14:26:29Z herbert $ +% $Id: pst-node.tex 557 2011-08-11 16:24:28Z 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.18} -\def\filedate{2011/08/01} +\def\fileversion{1.19} +\def\filedate{2011/08/12} \message{ v\fileversion, \filedate} % \edef\TheAtCode{\the\catcode`\@} @@ -193,6 +193,13 @@ \endgroup} \def\tx@GetRnodePos{GetRnodePos } \def\tx@InitRnode{InitRnode } +% +\def\psnode{\pst@object{psnode}} +\def\psnode@i{\@ifnextchar(\psnode@ii{\psnode@ii(0,0)}} +\def\psnode@ii(#1)#2#3{% #1: coordinates, #2: node name, #3 contents + \rput(#1){\rnode{#2}{#3}}% +} +% \def\rnode{\@ifnextchar[{\rnode@i}{\def\pst@par{}\rnode@ii}} \def\rnode@i[#1]{\def\pst@par{ref=#1}\rnode@ii} \def\rnode@ii#1{\pst@makebox{\rnode@iii\rnode@iv{#1}}} |