peter, tetex is not maintained anymore, so the problem could be that some packages of your distribution are too old; also there is no \usepackage{pstricks}, I'm not sure wether you need it; hope this helps, sorry, I don't have time to look more precisely at your error messages ... d