[OS X TeX] problem with pst-pdf

Peter Dyballa Peter_Dyballa at Web.DE
Mon Nov 14 05:47:14 EST 2005


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.


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.

--
Greetings

   Pete

When you meet a master swordsman,
show him your sword.
When you meet a man who is not a poet,
do not show him your poem.
                 -- Rinzai, ninth century Zen master

------------------------- 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