pstricks substituted by color package for pdflatex compilation.