[OS X TeX] pstricks not working

Franck Pastor pastor at fusl.ac.be
Sun Nov 14 08:58:28 CET 2004


Le 14-nov.-04, à 04:08, Michael Kubovy a écrit :

<snip>
> I get the following output on the console:
>
> ### This is 
> /usr/local/teTeX/bin/powerpc-apple-darwin-current/altpdflatex, Version 
> $Revision: 2.16 $
> ### /usr/local/teTeX/bin/powerpc-apple-darwin-current/latex 
> psTricksTest.tex
> This is pdfeTeX, Version 3.141592-1.20a-2.2 (Web2C 7.5.3)
> output format initialized to DVI
> entering extended mode
> (./psTricksTest.tex
> LaTeX2e <2003/12/01>
> Babel <v3.8c> and hyphenation patterns for american, french, german, 
> ngerman, n
> ohyphenation, loaded.
> (/usr/local/teTeX/share/texmf.tetex/tex/latex/base/article.cls
> Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
> (/usr/local/teTeX/share/texmf.tetex/tex/latex/base/size12.clo))
> (/Users/mk9y/Library/texmf/tex/latex/pstricks/latex/pstricks.sty
> (/Users/mk9y/Library/texmf/tex/latex/pstricks/generic/pstricks.tex
> `PSTricks' v1.04  <2004/06/22> (tvz)
> (/Users/mk9y/Library/texmf/tex/latex/pstricks/generic/pstricks.con))
> (/Users/mk9y/Library/texmf/tex/latex/xcolor/xcolor.sty
> (/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/color.cfg)
> (/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/dvips.def)))
> (./psTricksTest.aux)
> ! Undefined control sequence.
> l.10 	\showgrid
>
> When I run
>
> \documentclass[12pt]{article}
> \usepackage{pdftricks}
> \begin{psinputs}
> 	\usepackage{pstricks}
> \end{psinputs}
>
> \begin{document}
> \begin{pdfpic}
> 	\begin{pspicture}(0,0)(2,2)
> 		\showgrid
> 		\psset{linewidth=0.2pt,arrowscale=2,tbarsize=10pt}
> 		\psline{|<->|}(0,-100)(860,-100)\rput*(430,-100){860mm}
> 		\psline{|<->|}(960,0)(960,1250)\rput*{90}(960,625){1250mm}
> 		\psline{|<->|}(-100,0)(-100,940)\rput*{90}(-100,470){940mm}
> 	\end{pspicture}
> \end{pdfpic}

<snip>

> I get on the console:
> sh: line 1: ps2eps: command not found
>

The script "ps2eps", necessary for "pdftricks 1-16" is missing. You can 
download/copy it at :

http://www.ctan.org/tex-archive/macros/latex/contrib/pointRuler/ps2eps

Install it then in "/usr/local/bin" (for example), or anywhere your 
Unix may find commands. Then everything will work with pdflatex ans 
pdftricks, I think.

Regards,

Franck Pastor


--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the macostex-archives mailing list