[pstricks] pstricks with PlainTeX

Luis Sequeira lfsequeira at gmail.com
Mon Jun 3 11:08:30 CEST 2013


> Hi Everyone,
> 
> I got a new Mac with OS X 10.8.3 and installed MacTeX-2012, but pstricks doesn't seem to work now.  I primarily use (Plain) TeX, but when I looked for help in FAQs and mailing lists, the answers I found were specific to LaTeX.  So I downloaded a pstricks example file from TUG that uses LaTeX, and that doesn't work either.  Even after I put
> 
> % !TEX TS-program = latex
> 
> at the top of the file and ran it with LaTeX or XeLaTeX, it wouldn't work.  With the LaTeX engine, for example, I get this error message:
> 
> 
> ### This is /usr/texbin/simpdftex, Version 20070809
> 
> ### /usr/texbin/latex hilbert.tex
> 
> This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012)
> 
> restricted \write18 enabled.
> 
> entering extended mode
> [....]
> ### ps2pdf13 /tmp/altpdflatex.55576-1370136084/hilbert.ps /tmp/altpdflatex.55576-1370136084/hilbert.pdf
> 
> /usr/texbin/simpdftex: line 495: ps2pdf13: command not found
> 
> ### FAILED to generate /tmp/altpdflatex.55576-1370136084/hilbert.pdf ()
> 

The relevant error message is "/usr/texbin/simpdftex: line 495: ps2pdf13: command not found"
It tells you that it can't find the ps2pdf13 command.
This should live in /usr/local/bin. 

Open a Terminal window, type "which ps2pdf13" (without the quotes) and hit return. Which of the three possibilitues below do you get? 
(A) /usr/local/bin/ps2pdf13; (B) some other path; or (C) ps2pdf13: command not found

If you get (C), it is likely that ghostscript is not installed. 

LS




More information about the PSTricks mailing list