[l2h] Re: latex2html won't do...

Ross Moore ross at ics.mq.edu.au
Sat Mar 22 11:53:23 CET 2003


Hello Steffen,

> Hello!
> 
> I installed latex2html followind the instructions in the README file and
> everything seemed to be fine... but when i called "latex2html file.tex" the
> following error occured:

Which version of latex2html did you install ?
THe latest version is available at  www.latex2html.org .

 
> Too many arguments for undef operator at /usr/local/bin/latex2html line 2771,
> near "$trans)"
> Too many arguments for undef operator at /usr/local/bin/latex2html line 3076,
> near "$etmp)"
> BEGIN not safe after errors--compilation aborted at /usr/local/bin/latex2html
> line 4404.
> 
> is there a installation error? what happens,

No.
Perl has become more finicky with later versions.

Earlier versions of Perl allowed multiple arguments to the  undef  operator.
More recent versions allow just a single argument.

You could simply edit the  latex2html  script at the lines mentioned:
 2771, 3076, 4404
to fix the syntax.  Alternatively, it should be fixed already in later
versions of LateX2HTML.

 
> thanks for your advice, cheers,


Hope this helps,

	Ross Moore

> 
> Steffen Brinkmann
> Landessternwarte Heidelberg
> 
> --
> open source for open minds
> free software for free people
> --
> http://www.lsw.uni-heidelberg.de/~sbrinkma



More information about the latex2html mailing list