[pstricks] Bug (or feature ?) with pst-node and propser
Christophe Jorssen
jorssen.leraincy at free.fr
Thu Oct 28 20:09:08 CEST 2004
Hello,
I am in trouble with the fellowing code :
\documentclass[pdf,draft]{prosper}
\usepackage{pst-node}
\title{}
\author{}
\SpecialCoor
\begin{document}
\overlays{2}{%
\begin{slide}{Essai}
\begin{pspicture}(-3,-3)(3,3)
\pnode(-3,2){A1}\pnode(-.5,0){B1}
\ncline[linestyle=dashed]{A1}{B1}
\onlySlide{1}{%
\ncline[linestyle=none]{A1}{B1}
\ncput[npos=0.33]{\pnode{Temp1}}
\psdot(Temp1)
}
\onlySlide{2}{%
\ncline[linestyle=none]{A1}{B1}
\ncput[npos=0.66]{\pnode{Temp2}}
\psdot(Temp2)
}
\end{pspicture}
\end{slide}
}
\end{document}
The behaviour of this is not what I expected : the _two_ nodes appear on
both overlays. I don't understand why the second node is def'ed on the first
overlay.
Is it a normal behaviour ? If it is, is there a way to make it work like I'd
like to? namely _one_ node Temp1 def'ed on overlay 1 and _one_ node def'ed
on overlay 2.
Thanks in advance
Christophe
More information about the PSTricks
mailing list