Hello Shigeharu,

> shige 08/22 2002
> ----------------
> 
> latex2html (any recent version) seems to expand "}%\n" in latex 
> file to "}%%\n\n" in images.tex. For example, 

> 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}}
>       {\end{equation}}
> [c] \newenvironment{foo}[1]{\begin{equation}\label{#1}}{%
>       \end{equation}}
> [d] \newenvironment{foo}[1]{\begin{equation}\label{#1}}{
>       \end{equation}}

Also, the following works:

\newenvironment{foo}[1]{\begin{equation}\label{#1}}%
{\end{equation}}
^----------------- no space here!


> However, first definition
> 
> [e] \newenvironment{foo}[1]{\begin{equation}\label{#1}}%
>       {\end{equation}}
      ^^-----------------  with spaces.
> is also correct in LATEX. 
> 
> Can I make latex2html not expand "}%\n" to "}%%\n\n" ?

It's not just the end-of-line that causes the problem;
for me the problem occurs only when there is something
at the beginning of the next line too.

I'll try to find out why this happens.


All the best,

        Ross Moore

 
> +========================================================+
>  Shigeharu TAKENO     NIigata Institute of Technology
>                        kashiwazaki,Niigata 945-1195 JAPAN
>  [EMAIL PROTECTED]   TEL(&FAX): +81-257-22-8161
> +========================================================+
> _______________________________________________
> latex2html mailing list
> [EMAIL PROTECTED]
> http://tug.org/mailman/listinfo/latex2html

_______________________________________________
latex2html mailing list
[EMAIL PROTECTED]
http://tug.org/mailman/listinfo/latex2html

Reply via email to