[l2h] problem with latex2html from tetex-1.0.7-47.1
guy.gloor at ic.ac.uk
Mon May 12 00:20:48 CEST 2003
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.
From: latex2html-bounces at tug.org [mailto:latex2html-bounces at tug.org] On
Behalf Of François Patte
Sent: 11 May 2003 06:39
To: latex2html at tug.org
Subject: [l2h] problem with latex2html from tetex-1.0.7-47.1
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:
my $PNMCROP = '/usr/bin/pnmcrop -verbose ';
$PNMCROPOPT = ' -sides ';
When I call pnmcrop I get this message:
usage: pnmcrop [-white|-black] [-left] [-right] [-top] [-bottom]
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?
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
latex2html mailing list
latex2html at tug.org
More information about the latex2html