There have been a few updates to pstricks on ctan recently. The code:
\documentclass{article}
\usepackage{pstricks}
\begin{document}
\begin{pspicture}(0,5)(2,2)
\rput(1,1){Hi!}
\end{pspicture}
\begin{pspicture}(0,5)(2,2)
\psline[linewidth=2pt]{->}(1.5,0)(0,0)
\end{pspicture}
\end{document}
compiles fine with latex
but when you run it through make4ht
, which is a nice front-end to tex4ht, it crashes withe the first pspicture
environment giving the error
! Extra }, or forgotten \endgroup. \endpspicture ->\pst@killglue \endgroup \egroup \ifdim \wd \pst@hbox =\z@ \e...
and the second environment giving
! Undefined control sequence. \endpspicture ...-\pst@dimb \pst@dimd =\pst@tempa \pst@dimd \advance \pst@di...
As the code is so simple, and it worked previously, I don't think it's anything that I am doing but would be very happy to be corrected.
Does anyone see a work around for this?