[OS X TeX] Re: Ghostscript and ImageMagick

Peter Dyballa Peter_Dyballa at Web.DE
Sat Sep 6 12:06:06 EDT 2008


Am 06.09.2008 um 17:29 schrieb Vic Norton:

> A possibly related question. My PATH reads
>    PATH=/opt/local/bin:/Users/vic/bin:/bin:/sbin:/usr/bin:/usr/ 
> sbin:/usr/local/bin:/usr/textbin
> Does this mean that /opt/local is preferred to /usr/local or visa  
> versa?

On the command line this is true. In an application such as TeXShop  
or Aquamacs Emacs it can be different. To make sure that only the  
MacPorts Ghostscript is used, you can simply remove /usr/local/bin/gs  
(or rename it) and then create a symbolic link /usr/local/bin/gs  
pointing to /opt/local/bin/gs. Then it still can happen that the  
shell scripts installed with elder Ghostscript

	-rwxr-xr-x   1 root  admin      4581  4 Apr 15:28 fixmswrd.pl
	-rwxr-xr-x   1 root  admin      4661  4 Apr 15:28 lprsetup.sh
	-rwxr-xr-x   1 root  admin       687  4 Apr 15:28 ps2ps2
	-rwxr-xr-x   1 root  admin      1412  4 Apr 15:28 pv.sh
	-rwxr-xr-x   1 root  admin      4206  4 Apr 15:28 unix-lpr.sh
	-rwxr-xr-x   1 root  admin       323  4 Apr 15:28 wftopfa
	-rwxr-xr-x   1 root  admin      2330  4 Apr 15:28 ps2epsi
	-rwxr-xr-x   1 root  admin       315  4 Apr 15:28 ps2pdf
	-rwxr-xr-x   1 root  admin       260  4 Apr 15:28 ps2pdf12
	-rwxr-xr-x   1 root  admin       260  4 Apr 15:28 ps2pdf13
	-rwxr-xr-x   1 root  admin       260  4 Apr 15:28 ps2pdf14
	-rwxr-xr-x   1 root  admin      1110  4 Apr 15:28 ps2pdfwr
	-rwxr-xr-x   1 root  admin       655  4 Apr 15:28 ps2ps
	-rwxr-xr-x   1 root  admin       653  4 Apr 15:28 eps2eps
	-rwxr-xr-x   1 root  admin       339  4 Apr 15:28 font2c
	-rwxr-xr-x   1 root  admin       735  4 Apr 15:28 pdf2dsc
	-rwxr-xr-x   1 root  admin       940  4 Apr 15:28 pdf2ps
	-rwxr-xr-x   1 root  admin       581  4 Apr 15:28 pdfopt
	-rwxr-xr-x   1 root  admin       534  4 Apr 15:28 pf2afm
	-rwxr-xr-x   1 root  admin       550  4 Apr 15:28 pfbtopfa
	-rwxr-xr-x   1 root  admin       425  4 Apr 15:28 printafm
	-rwxr-xr-x   1 root  admin       786  4 Apr 15:28 ps2ascii
	-rwxr-xr-x   1 root  admin       331  4 Apr 15:28 bdftops
	-rwxr-xr-x   1 root  admin       577  4 Apr 15:28 dumphint
	-rwxr-xr-x   1 root  admin      1030  4 Apr 15:28 dvipdf
	-rwxr-xr-x   1 root  admin       378  4 Apr 15:28 gsdj
	-rwxr-xr-x   1 root  admin       381  4 Apr 15:28 gsdj500
	-rwxr-xr-x   1 root  admin       379  4 Apr 15:28 gslj
	-rwxr-xr-x   1 root  admin       376  4 Apr 15:28 gslp
	-rwxr-xr-x   1 root  admin       303  4 Apr 15:28 gsnd
	-rwxr-xr-x   1 root  admin       376  4 Apr 15:28 gsbj

could be used, but since they in the end need a gs programme, it will  
be the one from MacPorts.

Besides these files (and gs) there is the directory /usr/local/share/ 
ghostscript. And then there are the manual pages in either /usr/local/ 
man or /usr/local/share/man:

	/usr/local/share/man/de/man1/dvipdf.1
	/usr/local/share/man/de/man1/font2c.1
	/usr/local/share/man/de/man1/gsnd.1
	/usr/local/share/man/de/man1/pdf2dsc.1
	/usr/local/share/man/de/man1/pdf2ps.1
	/usr/local/share/man/de/man1/pdfopt.1
	/usr/local/share/man/de/man1/printafm.1
	/usr/local/share/man/de/man1/ps2ascii.1
	/usr/local/share/man/de/man1/ps2pdf.1
	/usr/local/share/man/de/man1/ps2ps.1
	/usr/local/share/man/de/man1/wftopfa.1
	/usr/local/share/man/de/man1/eps2eps.1
	/usr/local/share/man/de/man1/ps2pdf12.1
	/usr/local/share/man/de/man1/ps2pdf13.1
	/usr/local/share/man/man1/dvipdf.1
	/usr/local/share/man/man1/font2c.1
	/usr/local/share/man/man1/gs.1
	/usr/local/share/man/man1/gslp.1
	/usr/local/share/man/man1/gsnd.1
	/usr/local/share/man/man1/pdf2dsc.1
	/usr/local/share/man/man1/pdf2ps.1
	/usr/local/share/man/man1/pdfopt.1
	/usr/local/share/man/man1/pf2afm.1
	/usr/local/share/man/man1/pfbtopfa.1
	/usr/local/share/man/man1/printafm.1
	/usr/local/share/man/man1/ps2ascii.1
	/usr/local/share/man/man1/ps2epsi.1
	/usr/local/share/man/man1/ps2pdf.1
	/usr/local/share/man/man1/ps2pdfwr.1
	/usr/local/share/man/man1/ps2ps.1
	/usr/local/share/man/man1/wftopfa.1
	/usr/local/share/man/man1/eps2eps.1
	/usr/local/share/man/man1/ps2pdf12.1
	/usr/local/share/man/man1/ps2pdf13.1


--
Greetings

   Pete

Without vi there is only GNU Emacs





More information about the MacOSX-TeX mailing list