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

Herbert Voss Herbert.Voss at FU-Berlin.DE
Tue Oct 26 12:10:18 CEST 2010


Am 25.10.2010 09:17, schrieb Hubert Lam:
> 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.

Hubert,
use this fix until we have a solution:

[ ... ]
\usepackage{pst-eucl}
\makeatletter
\def\uput at vii#1#2{%
  \edef\pst at coor{
    \pst at number\pslabelsep
    #2
    \pst at number{\wd\pst at hbox}
    \pst at number{\ht\pst at hbox}
    \pst at number{\dp\pst at hbox}
    \psk at refangle\space
    \ifx\psk at rot\@empty\else\psk at rot\space sub \fi
    \tx at Uput #1}%
  \setbox\pst at hbox=\hbox to\z@{\hss\vbox to\z@{\vss\box\pst at hbox\vss}\hss}%
  \setbox\pst at hbox=\psput at special\pst at hbox%
  \ifx\psk at rot\@empty\else\pst at rotate\psk at rot\pst at hbox\fi}
\makeatother
[ ... ]

Herbert


More information about the PSTricks mailing list