[l2h] newenvironment problem

Frank Schmauder franks@heineken.chemie.uni-dortmund.de
Thu, 18 Apr 2002 11:34:58 +0200 (CEST)


Hi!
The following construct
***
\newcommand{\entrylabel}[1]{\mbox{\textsf{#1:}}\hfill}
\newenvironment{entry}
   {\begin{list}{}
        {\renewcommand{\makelabel}{\entrylabel}
          \setlength{\labelwidth}{40pt}
          \setlength{\leftmargin}{\labelwidth+\labelsep}
         }
   }
   {\end{list}}
***
results in an error message in >images.log<:
***
Runaway argument?
{\begin {list}{} {\renewcommand {\makelabel }{\mbox {\textsf {<:}}\hfill
\ETC.
! File ended while scanning use of \@newenv.
<inserted text>
                \par
<*> ./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

***

l2h terminates normally but can not create any png-files.

Are there problems with new environments in l2h and
why it's related to images ?

Thanks in advance,
 Frank

  -------------
 Frank Schmauder          e-mail:
 Physical Chemistry IIa   franks@heineken.chemie.uni-dortmund.de
 University of Dortmund   phone: 0231- 755 3908
 Otto-Hahn-Str. 6         fax  : 0231- 755 3937
 44227 Dortmund           http://ganter.chemie.uni-dortmund.de
 Germany