[pstricks] psbezier and pscustom
Herbert Voss
Herbert.Voss at alumni.TU-Berlin.DE
Fri Aug 15 15:01:33 CEST 2003
http://tug.org/mailman/htdig/pstricks/1997/000003.html
described a bug with \pscustom and \psbezier with a
bugfix provided by Dennis.
Using the testcase
\documentclass{article}
\usepackage{pstricks}
\begin{document}
\pscustom{%
\psline(5,1)(12,1)
\psbezier(2,-3)(1.8,-1)(0.9,2)}
\end{document}
shows that the bug is again there. And the curiuos thing
is, that it works with reverting the bugfix from 1997
\documentclass{article}
\usepackage{pstricks}
\makeatletter
\def\psbezier at ii{%
\addto at pscode{%
\pst at cp% <---!!!!! was commented out since 1997
\ifshowpoints true \else false \fi
\tx at OpenBezier
\ifshowpoints \tx at BezierShowPoints \fi%
}%
\end at OpenObj%
}
\makeatother
\begin{document}
\pscustom{%
\psline(5,1)(12,1)
\psbezier(2,-3)(1.8,-1)(0.9,2)}
\end{document}
Herbert
--
http://www.pstricks.de/
More information about the PSTricks
mailing list