>I am trying to figure out how to use \HTML bu the example in the manual is
>too hard to follow. So I used:
>
>\begin{rawhtml}
><A HREF="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</A>
>\end{rawhtml}
>
>How would I do this using \HTML?
In version v98.2 of LaTeX2HTML the macro is renamed to \HTMLcode .
since \HTML is frequently used as an acronym for HTML,
set in an appropriate style.
Use it like:
\HTMLcode[HREF=mailto:[EMAIL PROTECTED]]{A}{[EMAIL PROTECTED]}
or better...
...define in the document preamble, or within an \input file:
\newcommand{\myemail}{[EMAIL PROTECTED]}
or
\providecommand{\myemail}{[EMAIL PROTECTED]}
then use in your document(s):
\HTMLcode[HREF=mailto:\myemail]{A}{\myemail}
This way, if your email address changes for some reason,
then you only need edit it in one place, to make the document(s)
contain valid information.
You can take break up the information even further:
\newcommand{\myuserID}{musgrave}
\newcommand{\IMSdomain}{ims.alaska.edu}
\newcommand{\myemail}{\myuserID\@\IMSdomain}
in case you have multiple user-names or mailing accounts
on several machines or domains.
Or define a macro with arguments:
\newcommand{\mailaddress}[2]{\HTMLcode[HREF=mailto:#1@#2]{A}{#1@#2}}
\newcommand{\IMSemail}[1]{\mailaddress[#1]{\IMSdomain}}
Then use:
\IMSemail{musgrave}
and
\IMSemail{bloggs}
\IMSemail{chapman}
...
etc.
for a compact way to handle multiple email addresses
>Thanks,
>
>Dave
Hope this helps.
Ross Moore
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ross Moore email: [EMAIL PROTECTED]
Mathematics Department phone: +612 9850 8955
Macquarie University fax: +612 9850 8114
Sydney, NSW 2109 office: E7A-419
Australia WWW: http://www-math.mpce.mq.edu.au/~ross/
***************************
for the best in (La)TeX-nical typesetting and Web page production
join the TeX Users Group (TUG) --- browse at http://www.tug.org
<[EMAIL PROTECTED]>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~