Some documents I am converting use a "shell prompt" that is prefaced
with \hspace.  Since HTML indentation doesn't work the same way, I
preface the prompt with an transparent image using \HTML:

   \documentclass[html]{report}
   \usepackage{html}

   \newcommand{\prompt}{\HTML[src="dot_clear.gif"]{IMG}prompt-}

   \begin{document}
   \lowercase{\prompt}
   \end{document}

This worked fine for several documents, but in a document where the
command line is a parameter to \lowercase, it gives this message:

   *** <img> is not a valid tag for HTML 3.2
    rejecting: \HTML[src=;SPMquot;dot_clear.gif;SPMquot;]{img};

I admit it doesn't make a whole lot of sense to lowercase a HTML
image, but in this case the \lowercase was enclosing a larger region
that the \HTML tag just happened to be in.

Any suggestions for a better way to do this would be appreciated..!

Dan Young
[EMAIL PROTECTED]

Reply via email to