head 1.1; access; symbols; locks william:1.1; strict; comment @# @; 1.1 date 2002.10.09.21.28.42; author william; state Exp; branches; next ; desc @@ 1.1 log @Initial revision @ text @A pstoepsi shell script can be found at . 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 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 @