[pstricks] next bug

Herbert Voss Herbert.Voss at alumni.TU-Berlin.DE
Mon Apr 5 21:08:05 CEST 2004


Please confirm, or not if I'm wrong here ...
I suppose it is a bug in pstricks with the unknown
\use at color macro.

Herbert


\documentclass{article}
\usepackage{pstricks}
%\usepackage{pstricks-add}% v 1.26
\begin{document}

Works only with pstricks-add, v 1.26 (latest version)
http://perce.de/LaTeX/pstricks-add.tex

\bigskip
   \begin{pspicture}(3,3)\psgrid
     \pscustom[linewidth=1.5pt]{%
        \code{newpath}
        \rcoor(0.5,0.5)(0,2)(2,0)(0,-2)
        \setcolor{red}
        \code{
             moveto rlineto rlineto rlineto
             closepath
             2 setlinejoin 7.5 setlinewidth
             stroke
         }}
   \end{pspicture}

\end{document}



-- 
http://TeXnik.de/
http://PSTricks.de/




More information about the PSTricks mailing list