Hello again Dan,
> Ross Moore <[EMAIL PROTECTED]> writes:
> > Try things like:
> [...]
> > \newcommand{\prompt}{\texttt{\%{} }}
>
> Thanks. Problem solved.
>
> I hate to ask such a newbie question, but I don't see the answer in
> the manual -- what's the best way to insert HTML special characters
> into the LaTEX source?
>
> i.e.
>
> \begin{rawhtml}©\end{rawhtml}
>
> doesn't work, nor has anything else I've tried (\HTML,
> \rawhtml...\endrawhtml)
>
The \copyright command is recognised by LaTeX2HTML.
It puts in the numeric reference: ©
Other symbols that are part of ISO-Latin-1 fonts are handled similarly.
There are very few entity names in the HTML DTDs,
so things like © are *NOT* supported, since they are not universally
recognised by browsers.
There are many more possibilities when you use:
-html_version 4.0,unicode
Look at the file $LATEX2HTMLDIR/versions/unicode.pl
to see what entities are supported, using LaTeX commands.
The \begin{rawhtml}....\end{rawhtml} environment is for including
large chunks of pre-formatted HTML code;
mainly for things that have no counterpart in LaTeX.
You should always use separate lines for the delimiters:
\begin{rawhtml}
...
...
\end{rawhtml}
else pattern-matching may fail, esp. in the LaTeX runs.
Thus you are unlikely to get the right amount of white-space around single entities.
You could try the \HTMLcode macro, from html.sty .
e.g. \HTMLCODE{SPAN}{\©}
...but if you do this kind of thing your document will *not* be valid HTML.
Hope this helps,
Ross Moore