latexhelp1 wrote:[…] I have read every pstricks website I can find, and I cannot find any clear directions on how to implement this in a language that I can understand. […]
Actually the PSTricks project page is quite clear in this regard [1]. There are several suggestions for obtaining PDF output with PSTricks.
latexhelp1 wrote:[…] However, I did manage to understand some directions somewhere for auto-pst-pdf => pdf, which does compile the file at hand. However, it just doesn't display any of the pstricks. That is, the text displays, just no pstricks. :( Now, I'm not married to auto-pst-pdf => pdf; I just want any method that I can implement in plain english. […]
The
pst-pdf manual should give you valuable hints. Further more a forum search should yield appropriate results. I remember that we have discussed several similar problem here.
The main part is to activate
shell escape for the compiler. On MiKTeX this is done with '--enable-write18' as additional command line parameter (see attachment). For testing purpose try this example from the
pstricks-add manual.
Code: Select all
\documentclass{minimal}
\usepackage{pstricks-add}
\usepackage{auto-pst-pdf}
\begin{document}
\psset{unit=1.5}
\begin{pspicture}(-3,-3)(3,3)
\psChart[%
userColor={red!30,green!30,blue!40,gray,cyan!50,magenta!60,cyan},
chartSep=30pt,
shadow=true,
shadowsize=5pt
]{34.5,17.2,20.7,15.5,5.2,6.9}{6}{2}
\psset{nodesepA=5pt,nodesepB=-10pt}
\ncline{psChartO1}{psChart1}\nput{0}{psChartO1}{1000 (34.5\%)}
\ncline{psChartO2}{psChart2}\nput{150}{psChartO2}{500 (17.2\%)}
\ncline{psChartO3}{psChart3}\nput{-90}{psChartO3}{600 (20.7\%)}
\ncline{psChartO4}{psChart4}\nput{0}{psChartO4}{450 (15.5\%)}
\ncline{psChartO5}{psChart5}\nput{0}{psChartO5}{150 (5.2\%)}
\ncline{psChartO6}{psChart6}\nput{0}{psChartO6}{200 (6.9\%)}
\bfseries%
\rput(psChartI1){Taxes}\rput(psChartI2){Rent}\rput(psChartI3){Bills}
\rput(psChartI4){Car}\rput(psChartI5){Gas}\rput(psChartI6){Food}
\end{pspicture}
\end{document}
This works for me with the compiler settings in TeXnicCenter (TXC) as seen in the attachment. You can also try to run XeLaTeX on the code. The PDFLaTeX method will need
Ghostscript installed. It will be used in the background for some conversion jobs.
[1]
/PSTricks/pdf/pfdoutput
Best regards and welcome to the board
Thorsten