[l2h] problems with renewenvironment

Gregor Goldbach 7goldbac@informatik.uni-hamburg.de
Fri, 18 Jan 2002 12:31:00 +0100

Hi there,

I have interesting problems when redefining environments. latex2html
won't convert the following small document:

--- 8< ---


\newcommand{\cmda}[1]{bla #1}


asdf \cmdb{asdf}



--- 8< ---

It stops at the image conversion and mumbles about a missing '}':

--- 8< ---


Runaway argument?
{\renewcommand {\bla }{\emph {}{} \par \usepackage [dvips]{color} \par \ETC.
! File ended while scanning use of \@newenv.
<inserted text> 
<*> ./images.tex
I suspect you have forgotten a `}', causing me
to read past where you wanted me to stop.
I'll try to recover; but if the error is serious,
you'd better type `E' or `X' now and fix your file.

! Emergency stop.
<*> ./images.tex
*** (job aborted, no legal \end found)

Here is how much of TeX's memory you used:
--- 8< ---

I'm running LaTeX2HTML Version 99.2beta8 (1.43) on SuSE Linux 7.3.

Any ideas why this is happening?

Thanks for your help,