[l2h]: Bug in amsmath.perl

Ross MOORE Ross MOORE <ross@ics.mq.edu.au>
Thu, 1 Jul 1999 01:27:50 +1000 (EST)


> v 99.1 (release) with input:
> 
> \documentclass{article}
> \usepackage{amsmath}
> \begin{document}
> \author{Hi}
> \end{document}
> 
> goes into an infinite recursion (do_cmd_author -> translate_commands
> -> process_command -> do_cmd_author) while "parsing
> preamble". Everything is 
> ok without  
> \uspackage{amsmath}
 
Yes; this is a known bug. The problem is with \author ,
and similarly with \address .

These are fixed already for v99.2.
You can get just the  amsmath.perl  (and amstex.perl should be
identical) from the developer's archive.
It should work OK with v99.1 also.

Alternatively, for a temporary quick fix, copy the subroutines
 sub do_cmd_author {..... }
 sub do_cmd_address {.... }
from the latex2html to amsmath.perl . This should work.

Indeed, simply deleting or renaming the subroutines
in  amsmath.perl  should allow those from the latex2html script
to be found; thereby also providing a quick fix.


Hope this helps,

	Ross Moore