<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Dear Pstricks Gurus,<br>
<br>
I am using pstricks and tex4ht to create online quizzes. The following
code runs through latex happily but when I put it through htlatex it
gives the error:<br>
<blockquote>
  <pre>! Missing number, treated as zero.
&lt;to be read again&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; x</pre>
  <pre>l.8 \end{pspicture}
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $$</pre>
</blockquote>
The latex which produces the problem is:<br>
<blockquote>
  <pre>\documentclass{article}
\usepackage{pst-all,pst-3dplot}
\begin{document}
$$\psset{unit=6mm}\begin{pspicture}(-2.5,-1.5)(5,5.5)%
&nbsp;&nbsp;&nbsp; \psaxes[linecolor=red,linewidth=1pt,labels=none]{-&gt;}(0,0)(-2.5,-1.5)(5,5)%
&nbsp;&nbsp;&nbsp; \psellipse[linecolor=blue,linewidth=2pt](1,2)(3,2)%
\end{pspicture}$$
\end{document}</pre>
</blockquote>
Without the pst-3dplot this works fine, but--of course--I need this in
the real file that I am processing.<br>
<br>
I am using texlive 2005 which seems to have <br>
<blockquote>`PSTricks' v1.12&nbsp; &lt;2005/10/25&gt; (tvz)<br>
v1.41, 2004/05/18 &lt;tvz&gt;) `PST-3dplot' v1.63, 2005/02/19 (HV)))<br>
....and Im not sure what version of tex4ht...<br>
  <br>
</blockquote>
I've search on the net and can't find this problem anywhere. The
annoying thing is that this used to work so it may be something that my
system administrator have installed (they wouldn't have toughed any
configuration files...).<br>
<br>
Any help would be much appreciated.<br>
<br>
Cheers,<br>
Andrew<br>
<br>
</body>
</html>