Patois Yannick wrote:
>
> Hello,
>
> I know that this problem might be more latex than l2h,
> but I'm quitte annoyed with that :
>
> If I define :
>
> \newcommand{\ytest}[1]
> {
> #1
> }
>
> And the use it like :
>
> \ytest
> {
> \begin{verbatim}
> blabla
> \end{verbatim}
> }
>
> Latex does complain even if latex2html doesnt and produce the expected
> output.
>
> Anyone know why ?
I tried your example on my machine. In the error message LaTeX seems
to insert
a space when replacing the argument of \ytest like this: \end
{verbatim}, which
makes it not recognize \end{verbatim} any more (there *must* be no space
for this special environment). I tried a few other things but didn't
find
a solution, sorry!
I have another problem with LaTeX2HTML: special characters, such as
'$' seem
to be handled *before* verbatim which is a source of trouble when I
include
Unix scripts with $s for variable references. Is there a way to handle
this?
--
Mamoun ALISSALI
LIUM Tel: (33-2) -02-43 83 38 47
UNIVERSITE DU MAINE Fax: (33-2) -02-43 83 38 68
Avenue Olivier Messiaen E-mail: [EMAIL PROTECTED]
72085 LE MANS CEDEX 9 http://www-ic2.univ-lemans.fr/~alissali