[pstricks] Compiling on TeXShop

Herbert Voss Herbert.Voss at FU-Berlin.DE
Tue Oct 23 08:33:39 CEST 2012


Am 23.10.2012 03:31, schrieb Mark Lim:

> I use TeXShop: 2.37
> My TeXShop setting: Typeset button:TeX and DVI
> Typeset button: XeLaTeX

> I compile the code as follows. I have these warnings.  I have a blank
> pdf file output.
> Appreciate any leads to this troubleshooting tips.
> regards
> Mark
>
> \documentclass{article}
> \usepackage{pst-all}
> \usepackage{pstricks}
> \pagestyle{empty}
> \usepackage{fontenc}
> \usepackage{pstricks-add}
> \usepackage{pst-pdf}

you do not need the package pst-pdf when compiling with xelatex.

> Here is my console error messages:
[...]
> (/usr/local/texlive/2010basic/texmf-dist/tex/latex/base/article.cls

you should install MacTeX 2011, see http://tug.org/mactex/


> ! LaTeX Error: File `pst-pdf.sty' not found.

that file is only needed if you run your examples with

pdflatex --shell-escape <file>

But it isn't installed in your TeX distribution. However, install
MacTeX2011 and everything should be fine.
See also
http://tug.org/PSTricks/main.cgi?file=pdf/pdfoutput#TS
for running it with pdflatex. As I already wrote, using xelatex
is the easier way.

Herbert


More information about the PSTricks mailing list