Would someone kindly help what's causing the following error:
! Undefined control sequence.
\resetOptions ->\@zero
=0\def \pst@linetype {0}\pstScalePoints (1,1){}{}\pss...
l.1900 \resetOptions
?
! Emergency stop.
\resetOptions ->\@zero
=0\def \pst@linetype {0}\pstScalePoints (1,1){}{}\pss...
l.1900 \resetOptions
MWE:
\documentclass[english, landscape, a4paper]{slides}
\usepackage{graphics}
\usepackage{graphicx}
\usepackage{babel}
\usepackage{pst-eps}
\usepackage{pstricks}
\usepackage{multido}
\usepackage{pst-node}
\usepackage{pst-math}
\usepackage{pstricks-add}
\begin{document}
\begin{TeXtoEPS}
\setlength{\unitlength}{1cm}
\newsavebox{\EpsImgBox}
\savebox{\EpsImgBox}{%
\includegraphics[angle=90]{foo.eps}
}
\begin{pspicture}(\wd\EpsImgBox,\ht\EpsImgBox)
{
\rput[lb](0,0){
\usebox{\EpsImgBox}
}
}
\end{pspicture}
\end{TeXtoEPS}
\end{document}
Thanks.
\listfiles
at the start of the input?