[l2h] expand "}%\n" to "}%%\n\n" in images.tex

Shigeharu TAKENO shige@iee.niit.ac.jp
Thu, 22 Aug 2002 19:39:38 +0900 (JST)

shige 08/22 2002

latex2html (any recent version) seems to expand "}%\n" in latex 
file to "}%%\n\n" in images.tex. For example, 

    \int f(x)

is converted to 


in images.tex. But, the environment of images.tex is not correct
(END part of the environment becomes NULL line), and the result 
of latex2html is not correct, too.

To avoid the problem, we may use other definitions:

[a] \newenvironment{foo}[1]{\begin{equation}\label{#1}}{\end{equation}}
[b] \newenvironment{foo}[1]{\begin{equation}\label{#1}}
[c] \newenvironment{foo}[1]{\begin{equation}\label{#1}}{%
[d] \newenvironment{foo}[1]{\begin{equation}\label{#1}}{

However, first definition

[e] \newenvironment{foo}[1]{\begin{equation}\label{#1}}%
is also correct in LATEX. 

Can I make latex2html not expand "}%\n" to "}%%\n\n" ?

 Shigeharu TAKENO     NIigata Institute of Technology
                       kashiwazaki,Niigata 945-1195 JAPAN
 shige@iee.niit.ac.jp   TEL(&FAX): +81-257-22-8161