[OS X TeX] problem with pst-pdf

Alain Matthes alain.matthes at mac.com
Mon Nov 14 07:58:33 EST 2005

Le 14 nov. 05 à 11:47, Peter Dyballa a écrit :

> Am 14.11.2005 um 08:34 schrieb Alain Matthes:
>> Where is the problem with TeXshop and my installation ?
> There is none with TeXShop. It's you who has made the fault!
> You're citing this line from from your log file:
> 	This is pdfeTeX, Version 3.141592-1.30.4-2.2 (Web2C 7.5.5)
> This makes clear that it was (plain) TeX (otherwise a format would  
> be mentioned afterwards) which has created the log file.

Are you sure ? I think that the pdflatex-Version is: pdfeTeX 3.141592

In my prefs of TexShop, i've  pdflatex --shell-escape  and my choice  
for the compilation  is LaTeX.

All my log files start with This is pdfeTeX, Version  
3.141592-1.30.4-2.2 (Web2C 7.5.5) without problem.

> You should either create the ps4pdf engine which Herb Schulz provided:
> 	#!/bin/sh
> 	basefname=$(basename "$1" .tex)
> 	# process the figures
> 	latex --shell-escape "$1"
> 	dvips -Ppdf -o "${basefname}-pics.ps" "${basefname}.dvi"
> 	ps2pdf13 -dAutoRotatePages=/None "${basefname}-pics.ps" "$ 
> {basefname}-pics.pdf"
> 	pdfcrop "${basefname}-pics.pdf"
> 	mv "${basefname}-pics-crop.pdf" "${basefname}-pics.pdf"
> 	rm "${basefname}-pics.ps" "${basefname}.dvi"
> 	# process the file
> 	pdflatex --shell-escape "$1"
> (although I wonder if this can be substituted with the /usr/local/ 
> teTeX/bin/powerpc-apple-darwin-current/ps4pdf script) and put in  
> the beginning of your ps4pdf LaTeX files
> 	%!TEX TS-program = ps4pdf
> to make TeXShop choose automatically the right 'engine', or inform  
> TeXShop about the ps4pdf script in /usr/local/teTeX/bin/powerpc- 
> apple-darwin-current (set the LaTeX programme in Misc. to be  
> ps4pdf) and then use it by choosing it from the menu.

I take the example here : http://tug.org/PSTricks/main.cgi?file=pdf/ 
pdfoutput and the run is made with pdflatex.

I suppose that I have the file ps4pdf :
locate give this :

With the command line :  ps4pdf /Users/ego/Boulot/Work/pst-pdf- 
example.tex create  a pst-pdf-example.pdf but in ~/ego.

altermundus:/usr/local/bin ego$ sudo /usr/local/bin/ps4pdf /Users/ego/ 

/usr/local/bin/ps4pdf: running latex /Users/ego/Boulot/Work/pst-pdf- 
/usr/local/bin/ps4pdf: running dvips -Ppdf -o pst-pdf-example-pics.ps  
/usr/local/bin/ps4pdf: running ps2pdf -dAutoRotatePages=/None pst-pdf- 
example-pics.ps pst-pdf-example-pics.pdf
/usr/local/bin/ps4pdf: running pdflatex /Users/ego/Boulot/Work/pst- 

But I prefer to work with Texshop and especially TexTmate and not  
with the command line.

I try %!TEX TS-program = ps4pdf but it's the same error

Greetings Alain Matthes------------------------- 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 Archive: http://tug.org/pipermail/macostex-archives/

More information about the MacOSX-TeX mailing list