On Thu, 24 Sep 1998, Fei Liu wrote:
> I am trying to convert some postscript files into images with
> pstoimg script. I encountered the following problems. It seems the
> ghostscript installed on my solaris box doesn't work quite well.
Yes, you are probably right; are you able to latex your document, run it
through dvips and then display it using gs or ghostview? If so, there is
maybe a search path problem that can be solved by setting GSLIB (or is it
GS_LIB) to the appropriate path. If not, you need to look at your gs
(Ghostscript) installation. Did you get a binary distribution or did you
compile gs yourself? In the latter case you have full control over
installation paths etc. Just set them properly and gs should run ok.
Hope this helps!
Marek
>
> Diagnosis:
> temp directory is /tmp/ ...
> Running /usr/local/bin/gs -q -dNOPAUSE -dNO_PAUSE -sDEVICE=ppmraw
> -sOutputFile=ams95.%d.ppm
> GS>(ams95.ps) run
> GS>quit
> GS>Error: /invalidfont in findfont
> Operand stack:
> base_font_dict Helvetica-Oblique 29515 --nostringval--
> Helvetica-Oblique Times-Roman
> Execution stack:
> %interp_exit () --nostringval-- --nostringval-- --nostringval--
> %loop_continue --nostringval-- --nostringval-- false
> --nostringval-- --nostringval-- --nostringval-- %runexec_finish
> --nostringval-- --nostringval-- --nostringval-- --nostringval--
> --nostringval-- false --nostringval-- --nostringval--
> --nostringval-- --nostringval-- --nostringval-- false
> --nostringval-- --nostringval-- %loop_continue --nostringval--
> --nostringval-- --nostringval--
> Dictionary stack:
> --dict:679/701-- --dict:0/20-- --dict:45/200-- --dict:33/300--
> --dict:3/12-- --dict:14/21--
> Current allocation mode is local
> Last OS error: 2
> Current file position is 5962
> GS<4>
> pstoimg: Couldn't find ppm output of ams95.ps
> Linux is good, but Solaris is better.
Hmmm... Why start fights between Unices? At home I use Linux and I am
perfectly happy with it. At work I use Solaris (with some GNU addons) and
I am perfectly happy with it; but I *have* to use M$'s WinNT, too and that
gives me headaches...
Ok, that's just my 2c and this ain't the place for OS flame wars. Fei - if
you want to discuss this matter, let's continue it outside this list!
-Marek
***********************************************************
* Marek Rouchal [EMAIL PROTECTED] *
* http://saftsack.fs.uni-bayreuth.de/~marek *
* Linux, Perl, Latex2HTML enthusiast. PGP key available. *
***********************************************************