A pstoepsi shell script can be found at <URL:ftp://bourbon.cs.umd.edu/pub/tgif/pstoepsi/pstoepsi>. To make it work, find the 8-lines section labeled "Edit these variables" that looks like: ########################## Edit these variables ##################### GS='/usr/local/bin/X11/gs' PSTOPPM='/usr/local/libdata/X11/gs/pstoppm.ps' PBMTOEPSI='./pbmtoepsi' RASTTOPNM='/usr/local/pbm/rasttopnm' INTERP='gs' STRIP='false' HIRES='false' PSTORAST='./pstorast' ###################################################################### You don't need to modify all of them, the important ones are as follows: 1) GS='/usr/local/bin/X11/gs' If ghostscript (gs) is always in your path, you can just replace the above line with: GS='gs' Otherwise, replace it with the right path. 2) PSTOPPM='/usr/local/libdata/X11/gs/pstoppm.ps' Pstoppm.ps is part of ghostscript. Do "gs -help" and find the "Search path" in the output. For example, the "Search path" may be: /usr/local/libdata/X11/gs:/usr/local/libdata/X11/gs/fonts:. In this case, find "pstoppm.ps" in either /usr/local/libdata/X11/gs or /usr/local/libdata/X11/gs/fonts. If you find "pstoppm.ps" in /usr/local/libdata/X11/gs, change the above line to: PSTOPPM='/usr/local/libdata/X11/gs/pstoppm.ps' If "gs -help" shows that you are running "Aladdin Ghostscript 5.x", you don't need pstoppm.ps. You can leave the PSTOPPM setting the way it is. 3) PBMTOEPSI='./pbmtoepsi' If pbmtoepsi is always in your path, you can just replace the above line with: PBMTOEPSI='pbmtoepsi' Otherwise, replace it with the right path. Pbmtoepsi is part of netpbm. The netpbm package mentioned in tgif's home page at <URL:http://bourbon.cs.umd.edu:8001/tgif/tools.html> contains the source code for pbmtoepsi. Build it, install it (in, for example, /somewhere/pbmtpepsi), and change the above line to: PBMTOEPSI='/somewhere/pbmtoepsi' If you want to use the [ -2x ] feature of this pstoepsi, please make sure you use netpbm-20may1999 from the URL mentioned above. Last modified: May 20, 1999 -- Bill Cheng // bill.cheng@acm.org <URL:http://bourbon.cs.umd.edu:8001/william/>