As Herbert already mentions in his answer, the pstricks option of standalone doesn't work with auto-pst-pdf. Both seem to redefine the pspicture environment in an incompatible way. This makes perfectly sense because both try to due basically the same thing: create one page for every pspicture.
In order to make both work together remove the pstricks option (which loads pstricks and sets pspicture as a "multi environment") and add an additional environment to let standalone create multiple pages:
\documentclass[multi=multipage]{standalone}
\usepackage{pst-plot}
\usepackage{auto-pst-pdf}
\psset{%
polarplot,
algebraic,
plotpoints=1000}
\begin{document}
\multido{\i=1+1}{25}{%
\begin{multipage}
\begin{pspicture}(-3,-3)(3,3)
\pscircle[linestyle=dashed](0,0){2}
\psplot[linecolor=red]{0}{TwoPi}{2+.5*cos(\i*x)}
\end{pspicture}
\end{multipage}
}
\end{document}
However, in this case file.pdf is basically identical to file-pics.pdf anyway and therefore you don't need to use standalone at all.
Simply use a document like this and use file-pics.pdf directly. I assume here that what you want it a multi-page PDF which contains one step at every page.
\documentclass{article}
\usepackage{pst-plot}
\usepackage{auto-pst-pdf}
\psset{%
polarplot,
algebraic,
plotpoints=1000}
\begin{document}
\multido{\i=1+1}{25}{%
\begin{pspicture}(-3,-3)(3,3)
\pscircle[linestyle=dashed](0,0){2}
\psplot[linecolor=red]{0}{TwoPi}{2+.5*cos(\i*x)}
\end{pspicture}
}
\end{document}
standalonetoarticle; as such, perhaps add thestandalonetag to your question – cmhughes Nov 18 '12 at 01:51The program 'pdflatex' is currently not installed.but that's a different reason ;-) ) – Martin Scharrer Nov 19 '12 at 21:37pstricksinpdflatexmode is to\usepackage[pdf]{pstricks}. So,auto-pst-pdfis automatically included, therebypstricksin thestandalonedocument class options can be removed. Finally preamble looks like\usepackage[pdf]{pstricks}would come first, then add ons\usepackage{pst-plot}and no need for\usepackage{auto-pst-pdf}. This works well for me.BTW if you kindly post 'confusing error message' in the question it would help others. – texenthusiast Dec 30 '12 at 04:32auto-pst-pdf, it is just a request of Doctor Kumar in another question (forgot the link). – kiss my armpit Jan 01 '13 at 11:18