[l2h] \externalref adds extra <IMG> inside \HTMLcode

William T. Martin martin at orie.cornell.edu
Fri Mar 7 01:49:45 CET 2003


I have a question about using \externalref with \HTMLcode.  I have the
following to add some mouse over/out action codes to a link: 

\HTMLcode[HREF="junk",onmouseover="over()",onmouseout="out()"]{A}{PGP
Public Key}
<A ONMOUSEOUT="out()" ONMOUSEOVER="over()" HREF="junk">PGP Public Key</A>

However, when I change the HREF to refer to an \externalref label:

\HTMLcode[HREF="\externalref{martin.webpage.publickey}",onmouseover="over()",on\
mouseout="out()"]{A}{PGP Public Key}

I get the following:

<A ONMOUSEOUT="out()" ONMOUSEOVER="over()" HREF="<A
HREF="#martin.webpage.publickey">
<IMG  ALIGN="BOTTOM" BORDER="1" ALT="[*]"
 SRC="http://www.orie.cornell.edu/icons/crossref.gif"></A>">PGP Public 
Key</A>

Why is the <IMG> statement added?  How do I suppress it?

Thank you,

-- Bill Martin --

-- 
=======================================================================
William T. Martin		email:	martin at orie.cornell.edu
Cornell University/ORIE		
=======================================================================


More information about the latex2html mailing list