Ross Moore wrote:
> [Edwin Steiner wrote:]
> > Hello!
> > 
> > When LaTeX processes the document
> > 
> >     \documentclass{article}
> >     \newcommand{\mytt}[1]{{\tt #1}}
> >     \newcommand{\myrm}[1]{{\rm #1}}
> >     \begin{document}
> > 
> >     \texttt{AAA\textrm{BBB}AAA},
> 
> Do you really expect this to work ?
> What should it mean logically ?
> This will depend on the expansion model for macros.
[snip]

My error was to assume that \textrm{foo} is the same as {\rm foo}.
Well, it isn't. I looked it up in the LaTeX source. (And turned
away blinded. No more LaTeX source for me. :-)

I'm using declarations now, and the output is perfect
both in HTML and in DVI, no matter how deep
the scopes of the declarations are nested . :-)

Thanks,
-Edwin



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

Reply via email to