Hi, the following example fails: \setcounter{errorcontextlines}{999} \documentclass[11pt]{article} \usepackage{pstricks} \begin{document} \def\mytemp{true} \begin{pspicture}(4,4) \psframe[shadow=\mytemp](0,0)(4,4) \end{pspicture} \end{document} It seems to be an expansion problem. regards Marco