[pstricks] extend scope of user defined Postscript variable

Herbert Voss Herbert.Voss at FU-Berlin.DE
Mon Jun 29 15:29:27 CEST 2009


Alexander Grahn schrieb:

> As I see, it is only possible by using a temporary file.

also possible, but then you have to use the SDict dictionary

\documentclass{minimal}
\usepackage{pstricks}

\special{! /hello (hello!!!) def}

\begin{document}
\pstVerb{SDict begin hello print end}
foo
\clearpage

\pstVerb{SDict begin hello print end}
foo
\end{document}


Herbert


More information about the PSTricks mailing list