[pstricks] Fwd: Re: Compiling on TeXShop

Mark Lim mklim.77 at gmail.com
Mon Oct 29 02:59:56 CET 2012


Dear Luis,
Thanks for sharing since you use TeXshop. Appreciate that.
I tried your method:
Xelatex button on TeXshop.
Typset pulldown : TeX and DVI
Ran the following codes:

%!TEX TS-program = latex
\documentclass{article}
\usepackage{epstopdf}
\usepackage{pst-all}
\usepackage{pst-plot}
\pagestyle{empty}
\usepackage{pstricks-add}
%\usepackage{pst-pdf}
\begin{document
\begin{pspicture}(-0.5,-0.5)(6.5,6.5)
\psline(0,0)(4,3)
\end{pspicture}
\end{document}



My Console:

### This is /usr/texbin/simpdftex, Version 20070809

### /usr/texbin/latex pst_lesosn1.tex

This is pdfTeX, Version 3.1415926-1.40.11 (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/oberdiek/epstopdf.sty

(/usr/local/texlive/2010basic/texmf-dist/tex/latex/oberdiek/epstopdf-base.sty

(/usr/local/texlive/2010basic/texmf-dist/tex/generic/oberdiek/infwarerr.sty)

(/usr/local/texlive/2010basic/texmf-dist/tex/latex/oberdiek/grfext.sty)

(/usr/local/texlive/2010basic/texmf-dist/tex/latex/oberdiek/kvoptions.sty

(/usr/local/texlive/2010basic/texmf-dist/tex/latex/graphics/keyval.sty)

(/usr/local/texlive/2010basic/texmf-dist/tex/generic/oberdiek/kvsetkeys.sty

(/usr/local/texlive/2010basic/texmf-dist/tex/generic/oberdiek/etexcmds.sty)))

(/usr/local/texlive/2010basic/texmf-dist/tex/generic/oberdiek/pdftexcmds.sty

(/usr/local/texlive/2010basic/texmf-dist/tex/generic/oberdiek/ifluatex.sty)

(/usr/local/texlive/2010basic/texmf-dist/tex/generic/oberdiek/ltxcmds.sty))


Package epstopdf Warning: No graphics package `graphic{s,x}' loaded.


)) (/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/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/generic/pstricks/pstricks.con))

(/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/latex/graphics/dvips.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))

(./pst_lesosn1.aux) [1] (./pst_lesosn1.aux) )

Output written on pst_lesosn1.dvi (1 page, 1996 bytes).

SyncTeX written on pst_lesosn1.synctex.gz

Transcript written on pst_lesosn1.log.

### /usr/texbin/dvips -R -Poutline  -o /tmp/altpdflatex.375-1351475635/
pst_lesosn1.ps pst_lesosn1.dvi

This is dvips(k) 5.99 Copyright 2010 Radical Eye Software (
www.radicaleye.com)

' TeX output 2012.10.29:0953' -> /tmp/altpdflatex.375-1351475635/
pst_lesosn1.ps

</usr/local/texlive/2010basic/texmf/dvips/base/tex.pro>

</usr/local/texlive/2010basic/texmf-dist/dvips/pstricks/pstricks.pro>

</usr/local/texlive/2010basic/texmf-dist/dvips/pstricks/pst-algparser.pro>

</usr/local/texlive/2010basic/texmf-dist/dvips/pstricks/pst-dots.pro>

</usr/local/texlive/2010basic/texmf-dist/dvips/pst-node/pst-node.pro>

</usr/local/texlive/2010basic/texmf-dist/dvips/pst-grad/pst-grad.pro>

</usr/local/texlive/2010basic/texmf-dist/dvips/pst-coil/pst-coil.pro>

</usr/local/texlive/2010basic/texmf-dist/dvips/pst-text/pst-text.pro>

</usr/local/texlive/2010basic/texmf-dist/dvips/pst-3d/pst-3d.pro>

</usr/local/texlive/2010basic/texmf-dist/dvips/pst-math/pst-math.pro>

</usr/local/texlive/2010basic/texmf-dist/dvips/pstricks-add/pstricks-add.pro
>

</usr/local/texlive/2010basic/texmf/dvips/base/special.pro>

</usr/local/texlive/2010basic/texmf/dvips/base/color.pro>. [1]

### ps2pdf13 /tmp/altpdflatex.375-1351475635/pst_lesosn1.ps/tmp/altpdflatex.375-1351475635/pst_lesosn1.pdf

/usr/texbin/simpdftex: line 495: ps2pdf13: command not found

### FAILED to generate /tmp/altpdflatex.375-1351475635/pst_lesosn1.pdf ()


Question: I do not have ps2pdf13. Where can I get this file alone ? I
cannot typeset properly with a pdf output.
Rather than installing the whole MacTex.pkg .
I am not sure how the new install of MacTeX may affect my other normal
Latex/tikz works
Thanks
Mark

On Tue, Oct 23, 2012 at 5:31 PM, Herbert Voss <Herbert.Voss at fu-berlin.de>wrote:

> -------- Original-Nachricht --------
> Betreff: Re: [pstricks] Compiling on TeXShop
> Datum: Tue, 23 Oct 2012 08:01:52 +0100
> Von: Luis Sequeira <lfsequeira at fc.ul.pt>
> An: <pstricks at tug.org>
>
>  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}
>>
>>
> Unless you need to use XeLaTeX for other reasons, it is simpler to keeo
> with the old latex+dvips+ps2pdf route.
>
> This is trivial to achieve in TeXShop: just add the line
>
> %! TEX TS-program = latex
>
> at the beginning of the file (this is  a comment as far as TeX is
> concerned; TeXShop uses these kind of lines to determine how to process the
> file - in this case, use the old way)
> This way you don't need to change your preferences in any way.
>
> You must omit the fontenc package if you go this route.
>
> Also, use \begin{pspicture} and \end{pspicture} instead of the Plain TeX
> commands \pspicture and \endpspicture.
>
> With these changes, your document typeset perfectly im my mac (I also use
> TeXShop every day :-)).
>
> Luis Sequeira
>
>
>
>
>
> ______________________________**_________________
> PSTricks mailing list
> PSTricks at tug.org
> http://tug.org/mailman/**listinfo/pstricks<http://tug.org/mailman/listinfo/pstricks>
> archive: http://www.tug.org/pipermail/**pstricks/<http://www.tug.org/pipermail/pstricks/>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/pstricks/attachments/20121029/f5732f34/attachment-0001.html>


More information about the PSTricks mailing list