Francois, The quick fix is to change the ' -sides' to ' -black' in pstoimg. This should take care of the problem with the math formulae, but you may have trouble with some images if you wish them to be transparent, or if you are trying to include things like colour graphics or photographs.
The better option is to make sure you have the latest netpbm library. I am not sure when the pnmcrop -sides option started working, but it does work in version 10.11.4. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Fran�ois Patte Sent: 11 May 2003 06:39 To: [EMAIL PROTECTED] Subject: [l2h] problem with latex2html from tetex-1.0.7-47.1 Bonjour, There are some troubles with the version of latex2html (Version 2002 (1.62) JA patch-1.4) which is included in the tetex distribution (version 1.0.7-47.1) of redhat 7.3. It is impossible to convert images with pstoimg for this script first call pnmcrop with options that do not exist: line 267: my $PNMCROP = '/usr/bin/pnmcrop -verbose '; line 269: $PNMCROPOPT = ' -sides '; When I call pnmcrop I get this message: usage: pnmcrop [-white|-black] [-left] [-right] [-top] [-bottom] [pnmfile] There are no option -verbose nor -sides. If I suppress these options from the pstoimg script, image conversion works and, for some latex files I get a correct result, but for some other the maths formulas are boarded on the left and bottom by a line. Does anyone know what is this bug and how to correct it? Thank you. -- Fran�ois Patte. UFR de math�matiques et informatique. 45 rue des St P�res. 75270 Paris Cedex 06 T�l: 01 44 55 35 44 -- Fax: 01 44 55 35 35 http://www.math-info.univ-paris5.fr/~patte _______________________________________________ latex2html mailing list [EMAIL PROTECTED] http://tug.org/mailman/listinfo/latex2html _______________________________________________ latex2html mailing list [EMAIL PROTECTED] http://tug.org/mailman/listinfo/latex2html
