[pstricks] extend scope of user defined Postscript variable

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


Hi!

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
TeX/LaTeX?

Thanks and kind regards,
Alexander


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

.\pstVerb{hello print}

\vfill\eject

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

\bye


More information about the PSTricks mailing list