[pstricks] Pst-eucl bug ?

Christophe Jorssen christophe.jorssen at free.fr
Sun Oct 1 12:19:10 CEST 2006


Hi all,

I noticed a strange behavior here. Any idea ?

Thanks in advance.

 *File List*
 article.cls    2005/09/16 v1.4f Standard LaTeX document class
  size10.clo    2005/09/16 v1.4f Standard LaTeX file (size option)
pstricks.sty    2006/08/10 v0.32 LaTeX wrapper for `PSTricks' (RN,HV)
pstricks.tex    2006/04/29 v1.14c `PSTricks' (tvz)
  xcolor.sty    2005/12/21 v2.09 LaTeX color extensions (UK)
   color.cfg    2005/12/29 v1.1 MiKTeX 'color' configuration
   dvips.def    1999/02/16 v3.0i Driver-dependant file (DPC,SPQR)
pst-node.sty    2006/01/01 package wrapper for pst-node.tex
pst-node.tex    2000/11/09 97 patch 11 `pst-node' (tvz)
pst-eucl.sty    2005/05/14 package wrapper for PSTricks pst-eucl.tex
pst-xkey.tex    2005/11/25 v1.6 PSTricks specialization of xkeyval (HA)
 xkeyval.sty    2005/11/25 v2.5e package option processing (HA)
 xkeyval.tex    2005/11/25 v2.5e key=value parser (HA)

\documentclass{article}

\listfiles

\usepackage{pstricks,pst-node,pst-eucl}

\begin{document}

\begin{figure}[h]
  \centering
  \begin{pspicture}(0,-2.5)(\linewidth,1.5)
    \pnode(0,0){PSPcl}
    \pnode(\linewidth,0){PSPcr}
    \pcline{->}(PSPcl)(PSPcr)
    \ncput[npos=.4]{\pstGeonode[PosAngle=-90]{C1}}
    \rput(C1){\pstGeonode(1;30){M1}}
    \pstOrtSym{PSPcl}{PSPcr}{M1}[M2]
    \pstArcOAB{C1}{M2}{M1}
  \end{pspicture}
  \caption{With pcline : center of pstArcOAB is at the end of
  (PSPcl,PSPcr) instead of C1}
\end{figure}

\begin{figure}[h]
  \centering
  \begin{pspicture}(0,-1.5)(\linewidth,1.5)
    \pnode(0,0){PSPcl}
    \pnode(\linewidth,0){PSPcr}
    \ncline{PSPcl}{PSPcr}
    \ncput[npos=.4]{\pstGeonode[PosAngle=-90]{C1}}
    \rput(C1){\pstGeonode(1;30){M1}}
    \pstOrtSym{PSPcl}{PSPcr}{M1}[M2]
    \pstArcOAB{C1}{M2}{M1}
  \end{pspicture}
  \caption{With ncline : where is pstArcOAB ?}
\end{figure}

\begin{figure}[h]
  \centering
  \begin{pspicture}(0,-1.5)(\linewidth,1.5)
    \pnode(0,0){PSPcl}
    \pnode(\linewidth,0){PSPcr}
    \pcline{->}(PSPcl)(PSPcr)
    \ncput[npos=.4]{\pstGeonode[PosAngle=-90]{C1}}
    \pnode(C1){C2}
    \rput(C1){\pstGeonode(1;30){M1}}
    \pstOrtSym{PSPcl}{PSPcr}{M1}[M2]
    \pstArcOAB{C2}{M2}{M1}
  \end{pspicture}
  \caption{With pcline and a redefinition avec C1 outside of ncput : works
fine but...}
\end{figure}


\end{document}


--
Christophe Jorssen




More information about the PSTricks mailing list