diff options
author | Karl Berry <karl@freefriends.org> | 2014-03-27 23:32:23 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-03-27 23:32:23 +0000 |
commit | 1e03fc44357ef58ba336e2590c1c442552407c73 (patch) | |
tree | ca63bdb37331356aef585ebf5fb8680d543edbe3 /Master/texmf-dist/tex/generic | |
parent | 863fe267a76f36a029e8cb6be64bf4be6dfee1f9 (diff) |
pst-node (27mar14)
git-svn-id: svn://tug.org/texlive/trunk@33303 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.tex | 18 |
1 files changed, 12 insertions, 6 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 527f9139554..407b9049664 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 893 2014-02-03 21:40:44Z herbert $ +% $Id: pst-node.tex 898 2014-03-25 20:52:31Z 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.32} -\def\filedate{2014/02/03} +\def\fileversion{1.33} +\def\filedate{2014/03/25} \message{ v\fileversion, \filedate} % \edef\TheAtCode{\the\catcode`\@} @@ -60,7 +60,8 @@ \define@boolkey[psset]{pst-node}[Pst@]{showNode}[true]{}% write coors into the logfile \define@boolkey[psset]{pst-node}[Pst@]{markNode}[true]{}% makr the node with its name \define@boolkey[psset]{pst-node}[Pst@]{saveNodeCoors}[true]{} -\psset[pst-node]{saveNodeCoors=false,showNode=false,markNode=false} +\define@key[psset]{pst-node}{NodeCoorPrefix}[]{\def\psk@NodeCoorPrefix{#1}}% if empty it is N-<Name>.x|y +\psset[pst-node]{saveNodeCoors=false,showNode=false,markNode=false,NodeCoorPrefix=}% <NodeCoorPrefix<Name>x|y> % \def\psopenNodeFile{\pstVerb{ tx@NodeDict begin %/NodeFile { (\jobname.nodes)(w) file %} def @@ -74,8 +75,13 @@ \pst@Verb{ \ifPst@saveNodeCoors \ifx\relax#3\relax 0 0 \else gsave \pst@dict STV CP T end #3 \tx@UserCoor grestore \fi - /N-#1.y exch def - /N-#1.x exch def + \if$\psk@NodeCoorPrefix$ + /N-#1.y exch def + /N-#1.x exch def + \else + /\psk@NodeCoorPrefix#1y exch def + /\psk@NodeCoorPrefix#1x exch def + \fi \fi \pst@nodedict {#3} |