I wrote the following very simple program as I'm trying to make an animation using pstricks and multido, but I get "undefined control sequence" on the end pspicture line. Can anyone just tell me what's wrong with my code? I've been trying for a few hours to read documentation on multido and the pspicture environment. I can't see where I've used any wrong syntax.
% growingCircle.tex
% xelatex growingCircle
% convert -delay 4 -loop 0 -density 200 -alpha remove growingCircle.pdf growingCircle.gif
\documentclass[border=0pt,pstricks]{standalone}
\usepackage{pstricks-add}
\newcommand\FPS{25} %25 frames per second
\newcommand\Period{5} %Length of clip
\newcommand\TotalFrames{\FPS*\Period}
\begin{document}
\multido{\n=0.00+0.01}{\TotalFrames}{
\begin{pspicture}(-3,-3)(3,3)
\pscircle{\n}
\end{pspicture}}
\end{document}
\listfilesto the very first line of your document and compile again, type insand type enter when the error prompt flashes. Please show the resultinglogfile. – Johannes_B Nov 01 '14 at 12:37pstricksas an optional argument to the standalone class, since you loadpstricks-add, whch loads pstricks and a few other members of the pstricks family. Note you can compile withpdflaatex: all you have to do is loadingauto-pst-pdfand use the--shell-escapeswitch for the compiler, or--enable-write18if you're with MiKTeX. – Bernard Nov 02 '14 at 16:52