[l2h] Erro Messages in L2h: Illegal seek
Shigeharu TAKENO
shige at iee.niit.ac.jp
Sat Dec 6 08:54:11 CET 2003
shige 12/06 2003
----------------
"Francis Benyah" <fbenyah at uwc.ac.za> write:
> Error: Cannot read 'img54.gif': No such file or directory Converting
> image #99
> pstoimg: Error: " < /tmp/l2h1930/p4047.pnm | -bot | -l >
> /tmp/l2h1930/p4047.t00" failed: Illegal seek
I think the path of netpbm tools are not set correctly because
pstoimg script should do:
/usr/local/bin/pnmcrop -verbose < /tmp/l2h1930/p4047.pnm
| /usr/local/bin/pnmcrop -verbose -bot -sides
| /usr/local/bin/pnmcrop -verbose -l -sides
> /tmp/l2h1930/p4047.t00
where netpbm tools are in /usr/local/bin. There seems to be two
solutions.
[a] Re-install latex2html after setting
set path = ( [netpbm binary path] $path )
on csh|tcsh, or
PATH=[netpbm binary path]:$PATH ; export $PATH
on sh|bash.
[b] Setting the variables $PNM* of lib/latex2html/l2hconf.pm
and bin/pstoimg directly. For example:
lib/latex2html/l2hconf.pm:
$PNMCUT = '/usr/local/bin/pnmcut';
$PNMFLIP = '/usr/local/bin/pnmflip';
$PNMPAD = '/usr/local/bin/pnmpad';
$PNMROTATE = '/usr/local/bin/pnmrotate';
$PNMSCALE = '/usr/local/bin/pnmscale';
bin/pstoimg:
# Netpbm
my $PNMCROP = '/usr/local/bin/pnmcrop -verbose ';
my $PNMCROPOPT = ' -sides ';
my $PPMQUANT = '/usr/local/bin/ppmquant';
my $PNMFLIP = '/usr/local/bin/pnmflip';
my $PNMCAT = '/usr/local/bin/pnmcat';
my $PNMFILE = '/usr/local/bin/pnmfile';
my $PBMMAKE = '/usr/local/bin/pbmmake';
# GIF support
my $PPMTOGIF = '/usr/local/bin/ppmtogif';
# PNG support
my $PNMTOPNG = '/usr/local/bin/pnmtopng';
+========================================================+
Shigeharu TAKENO NIigata Institute of Technology
kashiwazaki,Niigata 945-1195 JAPAN
shige at iee.niit.ac.jp TEL(&FAX): +81-257-22-8161
+========================================================+
More information about the latex2html
mailing list