[pstricks] Bug in the latest version of PSTricks re: nodes

Hubert Lam tex at hubertlam.info
Mon Oct 25 09:17:53 CEST 2010


When using \uput{dimen}[(node_name)](start_node){stuff} in the version
of PSTricks distributed via MiKTeX 2.9, the right angles between angle
PAB and angle BAQ stuff up, as shown in the attachment named
"correct.jpg". The packages used are PSTricks and pst-eucl.

When I paste exactly the same code into the LaTeX Previewer by Troy
Henderson (http://www.tlhiv.org/ltxpreview/), the output is correct and
is shown in the attachment named "incorrect.jpg".

(The rounded rectangles in the red are added using Photoshop to show
what I'm talking about).

I've been used to using \uput to place nodes a certain distance and
angle from another node for a long time and it's been very recent that
this has not worked.

The code is:

\begin{center}
\psset{PointSymbol=none}
\begin{pspicture}[showgrid=true](-1,-1)(5.5,4.5)
\pstGeonode[PosAngle={-90,-90,90}](0,0){P}(3;45){A}(A|0,4){B}
\pstLineAB{P}{A} \nbput{$b$}
\pstLineAB{P}{B}
\pstLineAB{A}{B}
\uput{3\psxunit}[-20](A){\pstGeonode[PosAngle=-90]{Q}}
\pstLineAB{A}{Q} \nbput{$d$}
\pstLineAB{B}{Q}
\pstMarkAngle[MarkAngleRadius=1.5,LabelSep=1.25]{A}{P}{B}{$\alpha$}
\pstMarkAngle[MarkAngleRadius=0.6,LabelSep=1]{B}{Q}{A}{$2\alpha$}
\uput{0.25\psxunit}[(Q)](A){\pnode{AQ1}}
\uput{0.25\psxunit}[(B)](A){\pnode{A1}}
\uput{0.25\psxunit}[(P)](A){\pnode{A2}}
\pstTranslation[PointName=none]{A}{AQ1}{A1}[AQ2]
\pstTranslation[PointName=none]{A}{A2}{A1}[A3]
\psline(A1)(A3)(A2)
\psline(A1)(AQ2)(AQ1)
\end{pspicture}
\end{center}


Can someone help?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: correct.jpg
Type: image/jpeg
Size: 40028 bytes
Desc: not available
URL: <http://tug.org/pipermail/pstricks/attachments/20101025/b5631687/attachment-0002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: incorrect.jpg
Type: image/jpeg
Size: 59526 bytes
Desc: not available
URL: <http://tug.org/pipermail/pstricks/attachments/20101025/b5631687/attachment-0003.jpg>


More information about the PSTricks mailing list