Paul E Johnson 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:
> >
> > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Textclass specific LaTeX commands.
> >  \newenvironment{HangIndent}
> >   {\list{}{%
> >     \setlength\leftmargin{1.5cm}%  leftmargin
> >     \itemindent-\leftmargin}\item{}}
> >   {\endlist}
> >  \newcommand\myHangIndent[1]{
> >      \begin{HangIndent} #1
> >      \end{HangIndent}
> >      }

this is in standard TEX-format

 \newlength{\myHangIndentSize}
 \setlength{\myHangIndentSize}{1cm}
 \newenvironment{HangIndent}
  {\list{}{
    \setlength{\leftmargin}{\myHangIndentSize}
    \itemindent-\leftmargin}\item{}}
  {\endlist}
 \newcommand{\myHangIndent}[1]{%
     \begin{HangIndent}#1
     \end{HangIndent}%
     }

tth excepts a definition like \setlength\aLength..., but not latex2html
anyway, latex2html doesn't work for me, if i use the command
myHangIndent!

Herbert

-- 
[EMAIL PROTECTED]
http://perce.de/lyx/

Reply via email to