"Lars Gullik Bjønnes" wrote:
> | \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?)
>
> Hmm, I thought the error was that "\myHangIdent" was not enclosed in
> braces:
>
> "\newcommand{\myHangIdent}..."
this was not the only one error.
latex2html don't translate correct the command. i suppose it's the
combination of command and environment. this construct depends to
lyx. but it is real latex code! latex2html interprets this as an
image (i don't know why) and so you get another error message.
it's easy to test. in preamble:
\newenvironment{myEnv}{}{}
\newcommand{\myCommand}[1]{\begin{myEnv}#1\end{myEnv}}
and as text:
a text with \myCommand{a test}
Herbert
--
[EMAIL PROTECTED]
http://perce.de/lyx/