[pstricks] extend scope of user defined Postscript variable

Alexander Grahn A.Grahn at fzd.de
Mon Jun 29 12:29:58 CEST 2009


The print command on the second page of the document listed below raises
an error during PS to PDF conversion, because the variable /hello,
defined on the first page, does not survive the page break.

Is there a way to extend the scope of a user defined Postscript variable
in order to make it known throughout the whole document written in

Thanks and kind regards,

\input pstricks.tex
\pstVerb{/hello (hello!) def}

.\pstVerb{hello print}


.\pstVerb{hello print} %Error: /undefined in hello


More information about the PSTricks mailing list