I'm trying to use pst-circ in lyx to produce some circuit diagrams for my thesis, but running into some difficulties.
just as a test I have inserted the following ERT into my document:
Code: Select all
\begin{pspicture}(0,0)(4,5)
%node definitions
\pnode(0,0){A}
\pnode(4,0){B}
\pnode(4,4){C}
\pnode(0,4){D}
\capacitor(B)(C){$C$}
\wire(A)(B)
\wire(C)(D)
\wire(D)(A)
\end{pspicture}
I've tried ps4pdf (despite it saying it's deprecated), with
Code: Select all
\usepackage{ps4pdf}
\PSforPDF{\usepackage{pstricks,pst-circ}}
I get a similar result when running the modified example shown here: http://wiki.lyx.org/Examples/PSTricksCan’t show picture #1 because thesis-pics.pdf not found. Create it from thesis.dvi using dvips and
ps2pdf!
There must be something really simple I'm missing out on, any help would be really appreciated? Or is there a way of using pst-pdf with pstricks/pst-circ? To reiterate I need to use pdfLatex for the output as the dvi/postscript output completely messes up all the other figures.
Many Thanks,
Aaron