I am trying to get PSTricks to work with PDFLaTeX in order to create scientific diagrams in the report I am producing.
My document is currently as follows (I've included potentially extraneous packages because I'm not sure what could have an impact on PSTricks):
\documentclass{article}
\usepackage{fullpage}
\usepackage{amssymb,amsmath}
\usepackage{concmath}
\usepackage[euler-digits,euler-hat-accent]{eulervm}
\usepackage{url}
\usepackage{graphicx}
\usepackage{subcaption}
\usepackage{float}
\usepackage{url}
\usepackage{pstricks}
\usepackage{auto-pst-pdf}
\makeatletter
\g@addto@macro\@floatboxreset\centering
\makeatother
\DeclareGraphicsExtensions{.pdf,.png,.jpg}
\begin{document}
\title{Rotational Dynamics}
\author{Thomas Russell}
\date{March 2014}
\maketitle
\begin{pspicture}(5,5)
%% Triangle in red:
\psline[linecolor=red](1,1)(5,1)(1,4)(1,1)
%% Bezier curve in green:
\pscurve[linecolor=green,linewidth=2pt,%
showpoints=true](5,5)(3,2)(4,4)(2,3)
%% Circle in blue with radius 1:
\pscircle[linecolor=blue,linestyle=dashed](3,2.5){1}
\end{pspicture}
\end{document}
And this compiles fine, but rather than embedding the image in the target PDF file, it creates a PostScript file: rotational-dynamics-autopp.ps and then embeds it in rotational-dynamics-autopp.pdf.
I am compiling the LaTeX file with the following build option in Texmaker:
pdflatex -synctex=1 -interaction=nonstopmode -shell-escape %.tex


XeLaTeXnot with pdflatex. – Mar 04 '14 at 11:58