[pstricks] showNode in pst-node package

Herbert Voss Herbert.Voss at FU-Berlin.DE
Wed Jun 18 11:33:55 CEST 2014


Am 18.06.2014 09:52, schrieb Patrice MÉGRET:

> The sample program works fine for me too, except if I use \resistor(N1)(N2)
> So pst-node alone : OK it writes the file .nodes, print the dot the nodename for \pnode (with -dNOSAFER) but it fails with pst-circ and pst-optexp.

Try version 1.35 from http://texnik.dante.de/tex/generic/pst-node/

It works for me with

\documentclass{report}
\usepackage{pst-circ}
\usepackage{pst-optexp}
\begin{document}
\begin{pspicture}[showgrid](5,5)
\psset{showNode}
\pnode(1,1){N1}
\pnode(3,1){N2}
\resistor(N1)(N2){}
\lens(N1)(N2)
\end{pspicture}
\end{document}

However, it makes no real sense to use showNode for pst-circ
and pst-optexp. These packages use a lot of internal helper
nodes which will also be printed.

Herbert




More information about the PSTricks mailing list