[l2h] Re: several messages

Marek Rouchal Marek Rouchal <marek@gmx.net>
Wed, 3 Nov 1999 23:56:12 +0100 (MET)


On Tue, 2 Nov 1999, Tony wrote:

> I have just upgraded to the 99.1 version (Debian) and am having some config. 
> problems.
> 
> Latex2html claims that:
> ######################################
> This is dvips(k) 5.82 Copyright 1998 Radical Eye Software (www.radicaleye.com)
> ' TeX output 1999.11.02:1153' -> /home/uctpjac/APD/Web/Master-Index/l2h1046/ima
> ge
> (-> /home/uctpjac/APD/Web/Master-Index/l2h1046/image001) <texc.pro>
> <special.pro><color.pro>[1] 
> 
>  *** finished child process: #1057
> 
>  -debug  -tmp /home/uctpjac/APD/Web/Master-Index/l2h1046/  - -debug -scale 1.6 
> -geometry 513x186 -crop bl -margins 84,72 -transparent -out img1. 
> /home/uctpjac/APD/Web/Master-Index/l2h1046/image001.ps
>  -debug  -tmp /home/uctpjac/APD/Web/Master-Index/l2h1046/  - -debug -scale 1.6 
> -geometry 513x186 -crop bl -margins 84,72 -transparent -out 
> img1./home/uctpjac/APD/Web/Master-Index/l2h1046/image001.ps :  No such file or 
> directory
> #########################################
> 
> 
> In fact, dvips worked fine and /home/uctpjac/APD/Web/Master-Index/l2h1046/image
> 001.ps exists when I look for it. Do any of you know the solution to this 
> problem?
> 
> 1.I am using the version distributed in the current Debian stable release, 
> 98.1-pre2-b6-2 .
> 
> 2.After producing the ps file, l2h tries to do this:
> 
>  -debug  -tmp /home/uctpjac/web/APD/l2h20088/  - -debug -scale 1.6 -geometry 
> 513x186 -crop bl -margins 84,72 -transparent -out img1. 
> /home/uctpjac/web/APD/l2h20088/image001.ps
> 
> Quite clearly, it wants to do pstoimg .... -gif etc. In fact, when I do this 
> at the command line, it produces the right gif just fine. So somewhere it is 
> not picking up that pstoimg should be used, nor that gifs are to be used. I 
> have run both install scripts to pstoimg and latex2html.
> 
> Is there an easy answer to my next step?

Both problem seem to have the same source - the value of $PSTOIMG seems to
be undefined. Please check your latex2html.config for this and the correct
value of $LATEX2HTMLDIR in the latex2html main script.

By the way: There is 99.2beta available at
http://saftsack.fs.uni-bayreuth.de/~latex2ht
You might try that one, its configuration should be much more robust.

> Another question - I run latex2html as a cron job; is there a way I can avoid 
> this release's prompt to overwrite a directory?

Hmm, exactly which prompt do you mean? And with what options do you run
latex2html? One could think of an additional -force switch...

Hope this helps,

Marek

********************************************************************
* Marek Rouchal <marek.rouchal@gmx.net>                            *
* !!! please use only this address, set in the Reply-To header !!! *
********************************************************************