% testpdf.tex
% To test circuit files using pdflatex
% 1.  Use m4 and dpic -p to create test.tex as usual
% 2.  Type ps4pdf.sh testpdf
%     See http://www.tug.org/TUGboat/Articles/tb22-4/tb72voss4pdf.pdf
%
\documentclass[11pt]{article}
\usepackage{ps4pdf}
\usepackage{siunitx}
\PSforPDF{ \usepackage{pstricks} }

\pagestyle{empty} \thispagestyle{empty}
\begin{document}
\PSforPDF{ \input{test.tex} }
\end{document}

.
