I have the same problem. The following code does not work, even if compiled with the --enable-write18 option, and with a \tmp directory in the root. Where should the \tmp directory be? Does anyone know what's wrong?
Code: Select all
\documentclass[a4paper]{article}
\usepackage[miktex]{pdftricks}
\begin{psinputs}
\usepackage{pstricks}
\usepackage{pst-all}
\usepackage{pstricks-add}
\end{psinputs}
\begin{document}
\begin{figure}[htb]
\centering
\caption{The image, converted with \texttt{pdftricks}}
\begin{pdfpic}
\begin{pspicture}(-7.5,-3)(7.5,3)
\psaxes[labels=none](0,0)(-7,-2)(7,2)
\psplot[linecolor=blue, linewidth=1.5pt]{-7}{7}{x 0.01745329252 div sin}
\uput[45](3.1415926,0){$\pi$}
\uput[90](-1.570796,0){$-\pi/2$}
\uput[-90](1.570796,0){$\pi/2$}
\uput[-135](-3.1415926,0){$-\pi$}
\psline[linewidth=1pt,linecolor=red,linestyle=dotted](1.57079632,1)(1.57079632,0)
\psline[linewidth=1pt,linecolor=red,linestyle=dotted](-1.57079632,-1)(-1.57079632,0)
\end{pspicture}
\end{pdfpic}
\end{figure}
\end{document}