summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-09-24 21:47:44 +0000
committerKarl Berry <karl@freefriends.org>2012-09-24 21:47:44 +0000
commit08bb56f8c8df0899eafffd18108c67b50c986e9b (patch)
tree11028cd81569e75ae5ca8b1a054b783635cb5281 /Master/texmf-dist/tex/generic
parente93b439bce033f00c7b634fe7126f1afc5759b00 (diff)
pst-node (24sep12)
git-svn-id: svn://tug.org/texlive/trunk@27799 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic')
-rw-r--r--Master/texmf-dist/tex/generic/pst-node/pst-node.tex13
1 files changed, 9 insertions, 4 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 d9932789a6c..5850af583e4 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 705 2012-09-18 12:39:00Z herbert $
+% $Id: pst-node.tex 707 2012-09-21 14:17:30Z 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.24}
-\def\filedate{2012/09/18}
+\def\fileversion{1.25}
+\def\filedate{2012/09/21}
\message{ v\fileversion, \filedate}
%
\edef\TheAtCode{\the\catcode`\@}
@@ -55,16 +55,21 @@
% bug fix for xelatex, dvipdfmx uses the wrong scaling
\def\tx@NewNode{/NodeScale {\ifx\pstnodescale\@undefined \else\pstnodescale \fi} def NewNode }
%
+\define@boolkey[psset]{pst-node}[Pst@]{saveNodeCoors}[true]{}
+\psset[pst-node]{saveNodeCoors=false}
+%
\def\pst@newnode#1#2#3#4{%
\pst@killglue
\leavevmode
\pst@getnode{#1}\pst@thenode
\pst@Verb{
- \ifx\relax#3\relax 0 0 \else #3 \tx@UserCoor \fi
+ \ifPst@saveNodeCoors
+ \ifx\relax#3\relax 0 0 \else #3 \tx@UserCoor \fi
% startGlobal
/N-#1.y\space exch def
/N-#1.x\space exch def
% endGlobal
+ \fi
\pst@nodedict
{#3}
\ifx\psk@name\relax false \else \psk@name true \fi