[Problem] (coor1|coor2) special coordinates

Denis Girou Denis.Girou at idris.fr
Mon Oct 27 19:22:34 CET 1997


-----------------------------------------------------------------------------
This is the PSTricks mailing list, devoted to discussions about computational
graphics in (La)TeX using the PSTricks package from Timothy van Zandt.
For help using this mailing list, see instructions at the end of message.
-----------------------------------------------------------------------------

  Ivan Maio <maio at polito.it> report today the following problem: the
(coor1|coor2) special coordinates (see documentation page 72) produce an error
at compile time.

  Reason is that it was a bug in PSTricks 0.93a, corrected with entry 20
in 1994 pstricks.bug. But this correction was missing in PSTricks 97
distribution.

  Correction is:

\documentclass{article}

\usepackage{pst-node}

\makeatletter
\def\mixed at coor#1#2{%
\begingroup
\special@@coor#1;;\@nil
\let\pst at tempa\pst at coor
\special@@coor#2;;\@nil
\xdef\pst at tempg{\pst at tempa pop \pst at coor exch pop }%
\endgroup
\let\pst at coor\pst at tempg}
\makeatother

\pagestyle{empty}

\begin{document}

\SpecialCoor
\pnode(1,1){A}
\pnode(4,4){B}

\psdots(A)(B)

\psdots[linecolor=red](A|B)

\end{document}

  This is patch 6 for pstricks.tex 93a/b-97:

  * 97/10/27 pstricks.tex (93a/b-97 patch 6): the (coor1|coor2) special
coordinates produce an error, due to a bug in 0.93a version, which correction
in pstricks.bug was not reported in PST 97.
(reported by Ivan Maio <maio at polito.it>)

D.G.

-----------------------------------------------------------------------------
The list interface (subscription, information, access to the archives) is on:
http://tug.cs.umb.edu/cgi-bin/lwgate/pstricks
Otherway to unsubscribe, send mail to pstricks-request at mail.tug.org
with a blank subject and in body the line unsubscribe <email-address>
-----------------------------------------------------------------------------



More information about the PSTricks mailing list