[pstricks] Bug: pst-tree generates invalid PostScript code

Edward Avis epa98 at doc.ic.ac.uk
Sat May 18 16:18:29 CEST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I've found that certain characters in node labels and the like can cause
pst-tree to generate PostScript specials which crash the PostScript
interpreter.  Minimal test case:

\documentclass{article}
\usepackage{pst-tree}
\begin{document}
\pstree{\TC[name=()]}{}
\end{document}

This runs through 'latex' and 'dvips' just fine but the resulting PS
file is not valid.  Replacing the () characters with something like 'ab'
works fine.

IMHO pstricks ought to quote these characters in some way so that they
don't cause PostScript syntax errors - or at least give a warning when
processing the file.

- -- 
Ed Avis <epa98 at doc.ic.ac.uk>
Finger for PGP key
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE85mK3IMp73jhGogoRAnCaAJ44gdm9HAxWAtPTgzltuggyLRAWtQCggut5
IEQvA7DXrNMzCneqSHf/g+4=
=KDDD
-----END PGP SIGNATURE-----




More information about the PSTricks mailing list