[l2h] Error while converting imgae

Christian maillists at gmx.de
Thu Dec 11 18:35:01 CET 2008


Thanks for your extensive reply. I did reinstall and got it nearly to  
work. I did the following:

1. downloaded "latex2html-2008.tar.gz" and extracted it

2. patched "prefs.pm" > "$prefs{'EXTRAPATH'} = '/sw/bin';" (cause of  
the install location from fink) to get the following right during ./ 
configure:

##########
/sw/bin/pnmcrop -verbose yes
checking for pnmflip... /sw/bin/pnmflip
checking for ppmquant... /sw/bin/ppmquant
checking for pnmfile... /sw/bin/pnmfile
checking for pnmcat... /sw/bin/pnmcat
checking for pbmmake... /sw/bin/pbmmake
checking for ppmtogif... /sw/bin/ppmtogif
yes
checking if ppmtogif can make interlaced GIFs... yes
checking for pnmtopng... /sw/bin/pnmtopng
checking for ppmtojpeg... /sw/bin/ppmtojpeg
checking for pnmcut... /sw/bin/pnmcut
checking for pnmpad... /sw/bin/pnmpad
checking for pnmrotate... /sw/bin/pnmrotate
checking for pnmscale... /sw/bin/pnmscale
checking for giftopnm... /sw/bin/giftopnm
checking for jpegtopnm... /sw/bin/jpegtopnm
checking for pngtopnm... /sw/bin/pngtopnm
checking for tifftopnm... /sw/bin/tifftopnm
checking for picttoppm... /sw/bin/picttoppm
checking for anytopnm... /sw/bin/anytopnm
checking for bmptoppm... /sw/bin/bmptoppm
checking for pcxtoppm... /sw/bin/pcxtoppm
checking for sgitopnm... /sw/bin/sgitopnm
checking for xbmtopbm... /sw/bin/xbmtopbm
checking for xwdtopnm... /sw/bin/xwdtopnm
############

3. Did "make" and "make check" without problems

4. But "make test" returned the following error for images:

############
Converting image #2
pstoimg: Error: "/sw/bin/ppmquant -floyd 256 < /tmp/l2h1354/p1370.pnm  
| /sw/bin/pnmtopng -interlace -trans 'gray85'  > img2.png" failed:  
Invalid argument

Error while converting image
Converting image #1
pstoimg: Error: "/sw/bin/pnmcrop  < /tmp/l2h1354/p1386.pnm | /sw/bin/ 
pnmcrop  -bot  -sides  | /sw/bin/pnmcrop  -l  -sides  | /sw/bin/ 
pnmcrop  -r  -sides  | /sw/bin/pnmcrop  -l  -sides  | /sw/bin/ppmquant  
-floyd 256 | /sw/bin/pnmtopng -interlace -trans 'gray85'  > img1.png"  
failed: Invalid argument

Error while converting image
############

The index.html within the test folder also does not show the  
mathematical formulars, which I think are the two images not converted.

Already tried to replace "gray85" with "#d9d9d9" (see http://www.tug.org/pipermail/latex2html/2008-September/003469.html)


How could I make the image conversion work?


Thanks
Christian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/latex2html/attachments/20081211/d7c4791f/attachment.html 


More information about the latex2html mailing list