On Thu, 01 Mar 2001 13:30:53 +0200 robin <[EMAIL PROTECTED]> wrote:
> Guenter Milde wrote:
> >
> > On Wed, 28 Feb 2001 09:38:54 -0600 Paul E Johnson <[EMAIL PROTECTED]> wrote:
> >
> > > I got this email from Ross Moore about the problem I had with my
> > > regression notes and latex2html. He sys LyX is not outputting proper
> > > TeX for my user-defined paragraph environment "myHangIndent". That
> > > specific point is about 2/3 of the way down, but I leave the rest for
> > > context. My part begins with >, the rest is from Ross Moore, who is
> > > answing bug reports for latex2html today.
> > >
> > >
> > > > I have a TeX document that latex2html cannot process, apparently
> > > because
> > > > it has this bit in the preamble:
> > > >
> > > > \newcommand\myHangIndent[1]{
> > > > \begin{HangIndent} #1
> > > > \end{HangIndent}
> > > > }
> > >
> > > The problem is that LaTeX2HTML wants you to give the definition as:
> > >
> > > \newcommand{\myHangIndent}[1]{... etc ...}
> > >
> > > With that, everything processes smoothly;
> > ... a workaround using comment characters. One could do
> >
> > \newcommand\myHangIndent[1]{%
> > \begin{HangIndent} #1%
> > \end{HangIndent}
> >
> > as the % comments out everything until and including the EOL char.
> I found this fixed some problems in PS and PDF, but not latex2html.
Sorry, I missed the closing }, it should be
\newcommand\myHangIndent[1]{%
\begin{HangIndent} #1%
\end{HangIndent}%
}
so for LaTeX "{" and "}" are on one line.
Would this work with LaTex2HTML?
(or did you already fix my error?)
Guenter
--
[EMAIL PROTECTED]