The following LaTEX illustrates a bug in latex2html 98.1p1:
\def\prompt{\%\ }
\newcommand{\file}[1]{{\tt \lowercase{#1}}}
\prompt
\file{testfile.ada}
\prompt\file{testfile.ada}
If the \prompt command is on its own line, it correctly produces "% "
in the HTML output:
% <TT>testfile.ada</TT>
But if \prompt is followed anywhere on the same line by another
command (or string), the HTML looks like this:
%#10#><TT>testfile.ada</TT>
The number between the hash marks varies. It looks like an improperly
formed HTML tag to me.
Any workaround? I am converting a large body of LaTEX, and the
\prompt command is widely used in a variety of contexts.
Thanks,
Dan Young
Irvine Compiler Corporation
www.irvine.com