[pstricks] Compiling on TeXShop
Mark Lim
mklim.77 at gmail.com
Tue Oct 23 03:31:54 CEST 2012
Hi
I am writing trigonometry and needs lots of diagrams.
As a beginner, I bought a book, by Herbert Voss : Graphics and PostScript
for TeX and LaTeX.
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}
\begin{document}
\psset{algebraic=true}
\pspicture(-2,-0.5)(2,2)
\psline{<->}(-2,0)(2,0)
\psline{->}(0,-0.5)(0,2)
\psplot{-1.5}{1}{x*x+x}
\endpspicture
\end{document}
Here is my console error messages:
This is XeTeX, Version 3.1415926-2.2-0.9997.4 (TeX Live 2010)
entering extended mode
(./pst_lesosn1.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, dumylang,
nohyphenation, ba
sque, danish, dutch, finnish, french, german, ngerman, swissgerman,
hungarian,
italian, bokmal, nynorsk, polish, portuguese, spanish, swedish, loaded.
(/usr/local/texlive/2010basic/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/local/texlive/2010basic/texmf-dist/tex/latex/base/size10.clo))
(/usr/local/texlive/2010basic/texmf-dist/tex/latex/pstricks/pst-all.sty
(/usr/local/texlive/2010basic/texmf-dist/tex/latex/pstricks/pstricks.sty
(/usr/local/texlive/2010basic/texmf-dist/tex/generic/pstricks/pstricks.tex
(/usr/local/texlive/2010basic/texmf-dist/tex/generic/xkeyval/pst-xkey.tex
(/usr/local/texlive/2010basic/texmf-dist/tex/latex/xkeyval/xkeyval.sty
(/usr/local/texlive/2010basic/texmf-dist/tex/generic/xkeyval/xkeyval.tex
(/usr/local/texlive/2010basic/texmf-dist/tex/generic/xkeyval/keyval.tex))))
(/usr/local/texlive/2010basic/texmf-dist/tex/generic/pstricks/pst-fp.tex
`pst-fp' v0.06, 2010/05/14 (hv))
`PSTricks' v2.08 <2010/06/06> (tvz)
(/usr/local/texlive/2010basic/texmf-dist/tex/xelatex/xetex-pstricks/
pstricks.co
n
(/usr/local/texlive/2010basic/texmf-dist/tex/generic/pstricks/config/xdvipdfmx.
cfg))
(/usr/local/texlive/2010basic/texmf-dist/tex/xelatex/xetex-pstricks/
pstricks.co
n
(/usr/local/texlive/2010basic/texmf-dist/tex/generic/pstricks/config/xdvipdfmx.
cfg
Using PSTricks configuration for XeTeX+xdvipdfmx
)))
(/usr/local/texlive/2010basic/texmf-dist/tex/generic/pstricks/pst-fp.tex)
(/usr/local/texlive/2010basic/texmf-dist/tex/latex/xcolor/xcolor.sty
(/usr/local/texlive/2010basic/texmf-dist/tex/latex/latexconfig/color.cfg)
(/usr/local/texlive/2010basic/texmf-dist/tex/xelatex/xetex-def/xetex.def)))
(/usr/local/texlive/2010basic/texmf-dist/tex/latex/pst-plot/pst-plot.sty
(/usr/local/texlive/2010basic/texmf-dist/tex/generic/pst-plot/pst-plot.tex
(/usr/local/texlive/2010basic/texmf-dist/tex/generic/multido/multido.tex
v1.42, 2010/05/14 <tvz>) v1.17, 2010/06/22 (tvz,hv)))
(/usr/local/texlive/2010basic/texmf-dist/tex/latex/pst-node/pst-node.sty
(/usr/local/texlive/2010basic/texmf-dist/tex/generic/pst-node/pst-node.tex
v1.13, 2010/06/06))
(/usr/local/texlive/2010basic/texmf-dist/tex/latex/pst-tree/pst-tree.sty
(/usr/local/texlive/2010basic/texmf-dist/tex/generic/pst-tree/pst-tree.tex
v1.11, 2009/09/17(tvz,dg,hv)))
(/usr/local/texlive/2010basic/texmf-dist/tex/latex/pst-grad/pst-grad.sty
(/usr/local/texlive/2010basic/texmf-dist/tex/generic/pst-grad/pst-grad.tex
`pst-grad' v1.06, 2006/11/27 (tvz,dg,hv)))
(/usr/local/texlive/2010basic/texmf-dist/tex/latex/pst-coil/pst-coil.sty
(/usr/local/texlive/2010basic/texmf-dist/tex/generic/pst-coil/pst-coil.tex
v1.06, 2006/11/27))
(/usr/local/texlive/2010basic/texmf-dist/tex/latex/pst-text/pst-text.sty
(/usr/local/texlive/2010basic/texmf-dist/tex/generic/pst-text/pst-text.tex
v1.00, 2006/11/05(tvz,hv)))
(/usr/local/texlive/2010basic/texmf-dist/tex/latex/pst-3d/pst-3d.sty
(/usr/local/texlive/2010basic/texmf-dist/tex/generic/pst-3d/pst-3d.tex
`PST-3d' v1.11, 2010/02/14 (tvz)))
(/usr/local/texlive/2010basic/texmf-dist/tex/latex/pst-eps/pst-eps.sty
(/usr/local/texlive/2010basic/texmf-dist/tex/generic/pst-eps/pst-eps.tex
v1.00, 2006/11/04))
(/usr/local/texlive/2010basic/texmf-dist/tex/latex/pst-fill/pst-fill.sty
(/usr/local/texlive/2010basic/texmf-dist/tex/generic/pst-fill/pst-fill.tex
`PST-Fill' v1.01, 2007/03/10 (tvz,dg,hv)))
(/usr/local/texlive/2010basic/texmf-dist/tex/latex/pstricks-add/
pstricks-add.st
y
(/usr/local/texlive/2010basic/texmf-dist/tex/generic/pstricks-add/pstricks-add.
tex
(/usr/local/texlive/2010basic/texmf-dist/tex/generic/pst-math/pst-math.tex
`pst-math' v0.23 , (CJ,hv)) `pstricks-add' v3.41, 2010/06/16 (dr,hv)))
(/usr/local/texlive/2010basic/texmf-dist/tex/latex/multido/multido.sty))
(/usr/local/texlive/2010basic/texmf-dist/tex/latex/base/fontenc.sty)
! LaTeX Error: File `pst-pdf.sty' not found.
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)
Enter file name:
(./pst_lesosn1.aux) [1] (./pst_lesosn1.aux)
** WARNING ** pdf_open: Not a PDF 1.[1-5] file.
** WARNING ** Failed to include image file
"/var/folders/yb/ybJiY4ljHSuKXiRLO44OtU+++TI/-Tmp-//dvipdfmx.wUD8MwbY"
** WARNING ** >> Please check if
** WARNING ** >> rungs -q -dNOPAUSE -dBATCH -sPAPERSIZE=a0
-sDEVICE=pdfwrite -dCompatibilityLevel=%v -dAutoFilterGrayImages=false
-dGrayImageFilter=/FlateEncode -dAutoFilterColorImages=false
-dColorImageFilter=/FlateEncode -sOutputFile=%o %i -c quit
** WARNING ** >> %o = output filename, %i = input filename, %b = input
filename without suffix
** WARNING ** >> can really convert
"/var/folders/yb/ybJiY4ljHSuKXiRLO44OtU+++TI/-Tmp-//dvipdfmx.wUD8MwbY" to
PDF format image.
** WARNING ** pdf: image inclusion failed for
"/var/folders/yb/ybJiY4ljHSuKXiRLO44OtU+++TI/-Tmp-//dvipdfmx.wUD8MwbY".
** WARNING ** Failed to read converted PSTricks image file.
** WARNING ** Interpreting special command pst: (ps:) failed.
** WARNING ** >> at page="1" position="(205.405, 660.395)" (in PDF)
** WARNING ** >> xxx "pst: tx at Dict begin STP newpath /ArrowA { moveto }
def /ArrowB "
)
Output written on pst_lesosn1.pdf (1 page).
SyncTeX written on pst_lesosn1.synctex.gz
Transcript written on pst_lesosn1.log.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20121023/eb5f82c9/attachment-0001.html>
More information about the PSTricks
mailing list