[TxMt] Latex and pstricks

Tom Vawter tomvawter at earthlink.net
Wed Jan 11 22:28:58 UTC 2006

I've been playing with Textmate's latex capabilities and I am impressed.
But I am unable to get any graphics.  Here is an example (TMExample):

\documentclass[12pt]{article}

\usepackage{ps4pdf}

\PSforPDF{
\usepackage{pdftricks}
\usepackage{pstricks}
\usepackage{pst-plot}
}

\pagestyle{empty}
\begin{document}
\PSforPDF {%
\begin{pspicture}(-5,-5)(5,5)
\psaxes[linecolor=blue,tickstyle=top]%
{<->}%
(0,0)(-5,-5)(5,5)
\end{pspicture}
}

\end{document}

Out of this I get a rectangle in the viewer saying:

Can’t show picture #1 because TMExample-pics.pdf not found. Create it
from TMExample.dvi using dvips and ps2pdf!

I am not sure what to do with this.