hi, there:
I shall post the method to work around pstoimg problem here as Ross
suggested although it's really a method. pstoimg problem only happens when
you try to run it interactively in command line mode. In other words, it
works pretty fine inside of latex2html. The way to work it through is
everytime when you use it do a
% pstoimg -tmp ./ -gif .....bluhbluh here
if you don't mind using current dir as your temporary storage location
and you have read/write access to it.
% pstoimg -gif .....bluhbluh
won't work somehow although the system uses /tmp as temporary storage
location.
There's another problem about dvips, anyone knows how to do reverse stock
output of ps file pages. dvips -r doesn't work. Both dvips or dvips -r
will give you 3,2,1 ordered output. They are in correct order inside of
the ps file, in other words, u can view them in ghostview or whatever.
But when you do a ps2pdf, the pdf file have reverse ordered pages, 3,2,1.
This is no good. Anyone has a solution for this? It's appreciated.
Fei
*~~~~~~~~~~~~~~~~~~~~~+_____________________+~~~~~~~~~~~~~~~~~~~*
* Email:[EMAIL PROTECTED] | WWW: http://aa.eps.jhu.edu/~feiliu *
* (410)889-9876(H) | Johns Hopkins Univ. | (410)516-4236(O) *
*-------------------+_____________________+-----------------*
---
Linux is good, but Solaris is better.
On Sun, 27 Sep 1998, Marek Rouchal wrote:
> 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. *
> ***********************************************************
>