summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pst-node/pst-node-doc.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/generic/pst-node/pst-node-doc.tex')
-rw-r--r--Master/texmf-dist/doc/generic/pst-node/pst-node-doc.tex20
1 files changed, 11 insertions, 9 deletions
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 63d6c4ca04b..33b37d39f6f 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,6 +1,6 @@
-%% $Id: pst-node-doc.tex 295 2016-05-02 19:11:36Z herbert $
-\documentclass[11pt,english,BCOR10mm,DIV12,bibliography=totoc,parskip=false,smallheadings
- headexclude,footexclude,oneside]{pst-doc}
+%% $Id: pst-node-doc.tex 684 2017-12-09 19:05:01Z herbert $
+\documentclass[fontsize=11pt,english,BCOR=10mm,DIV=12,bibliography=totoc,parskip=false,smallheadings,
+ headinclude=false,footinclude=false,oneside]{pst-doc}
\listfiles
\input{pst-node}
@@ -43,6 +43,9 @@
(-1,-.55)(-1,.5)(-.8,.5)(-.8,.65)(-.2,.65)(-.2,.5)(1,.5)(1,-.55)
\endpspicture}
+\addbibresource{\jobname.bib}
+
+
\lstset{explpreset={pos=l,width=-99pt,overhang=0pt,hsep=\columnsep,vsep=\bigskipamount,rframe={}}}
\begin{document}
@@ -2653,7 +2656,8 @@ with only two particular arrow shapes---those arrows specified with either
The macro \Lcs{saveDataAsNodes} allows to read $x|y$ values from an external data file
and save the coordinates in nodes named \texttt{<Nodeprefix>i>} where $i$ is the nodecounter,
-starting at 0.
+starting at 0. The last loop index is saved in the counter \Lctr{psLoopIndex} and the last
+node is saved as \nxLenv{<Nodeprefix>Last}
\begin{filecontents*}{node.data}
@@ -2674,9 +2678,10 @@ starting at 0.
\saveDataAsNodes{node.data}{N}
\psset{radius=2.5mm,arrows=->,arrowscale=1.5,nodesep=2.7mm,linewidth=1.3pt}
\Cnodeput[linecolor=red]{0}(N0){foo}{0}
- \multido{\iA=1+1,\iB=0+1}{\numexpr\the\psLoopIndex-1}{%
+ \multido{\iA=1+1,\iB=0+1}{\the\psLoopIndex}{%
\Cnodeput{0}(N\iA){foo}{\iA}\ncline{N\iB}{N\iA}}
\ncline[linecolor=blue,linestyle=dashed]{N8}{N3}
+ \ncline[linecolor=red,linestyle=dashed]{N0}{NLast}
\end{pspicture}
\end{LTXexample}
@@ -2688,11 +2693,8 @@ starting at 0.
\xkvview{family=pst-node,columns={key,type,default}}
\nocite{*}
-\bgroup
\RaggedRight
-\bibliographystyle{plain}
-\bibliography{pst-node-doc}
-\egroup
+\printbibliography
\printindex