[pstricks] Bug in pst-eucl

Hubert Lam hubert at lamfamily.info
Thu Sep 22 08:38:33 CEST 2011


Thanks Christoph.


Modifying it to \pstDistAB still produces the same error.

Code: 

\begin{pspicture}(-3,-3)(3,3)
\pstGeonode(0,0){O}(3;120){A}
\pstGeonode(4,-3){E}
\pstMiddleAB{O}{E}{M}
\pstCircleOA{O}{A}
\pstInterCC[DiameterB=\pstDistAB{O}{E}]{O}{A}{M}{}{K1}{K2}
\end{pspicture}

Error:

 ("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\stmaryrd\ustmry.fd")
! Use of \pnode@ doesn't match its definition.
\@ifnextchar ... \reserved at d =#1\def \reserved at a {
                                                  #2}\def \reserved at b {#3}\f...
l.42 ...eterB=\pstDistAB{O}{E}]{O}{A}{M}{}{K1}{K2}
                                                  

Unless I've still got some silly mistake in there, but as far as I'm concerned, I can't :( The old files which I've got don't compile either, but they have compiled before.

Hubert

-----Original Message-----
From: pstricks-bounces at tug.org [mailto:pstricks-bounces at tug.org] On Behalf Of Christoph Bersch
Sent: Thursday, September 22, 2011 4:05 PM
To: pstricks at tug.org
Subject: Re: [pstricks] Bug in pst-eucl

Hi,

\pstDistVal takes only one argument, but you provide two. Using \pstDistAB instead works. I don't know if this syntax used to be different for older versions.

On 22.09.2011 04:27, Hubert Lam wrote:
>
> It's drawn via \pstInterCC and I've been using this method to draw 
> other tangents to circles. However, with the latest update of pst-eucl 
> dated May 2011, I've no longer been able to draw it and I suspect there's a bug.
>
> Here's some minimal code:
>
> \begin{pspicture}(-3,-3)(3,3)
> \pstGeonode(0,0){O}(3;120){A}
> \pstGeonode(4,-3){E}
> \pstMiddleAB{O}{E}{M}
> \pstCircleOA{O}{A}
> \pstInterCC[DiameterB=\pstDistVal{O}{E}]{O}{A}{M}{}{K1}{K2}

\pstInterCC[DiameterB=\pstDistAB{O}{E}]{O}{A}{M}{}{K1}{K2}

Christoph
_______________________________________________
PSTricks mailing list
PSTricks at tug.org
http://tug.org/mailman/listinfo/pstricks
archive: http://www.tug.org/pipermail/pstricks/





More information about the PSTricks mailing list