next up previous
Next: Including HTML commands Up: Cross-referencing Previous: Referencing parts of the


Referencing other htmls

NOTE: The commands described in this section are defined in the html.sty file, and hence require it by included as part of the arugents to the \documentstyle command (See Section 6).

latex2html provides a number of commands which can be embedded in the LaTeX source code to emable hyperlinks to be generated to other html pages. The most useful is probably the
\htmladdnormallinkfoot{text}{URL}
command which results in the text being made into a hyperlink to the specified URL in the html document (ie by latex2html, but results in the URL being given as a footnote in LaTeX/DVIPS-produced hardcopy (see Section 4.3.1).

For example, the command:
\htmladdnormallinkfoot{Here is Ian George's personal biography}
{http://legacy.gsfc.nasa.gov/docs/bios/imgeorge.html}
and
\htmladdnormallinkfoot{here is Jane Turner's}
{http://legacy.gsfc.nasa.gov/docs/bios/turner.html}.
in the LaTeX source file will result in the following output:

Here is Ian George's personal biography and here is Jane Turner's. This facility is used throughout this document.

NOTE: the \htmladdnormallinkfoot{text}{URL} command fails when LaTeX is run if the URL contains an underscore (or any other symbol LaTeX considers a 'mathematical' symbol). In such cases, it is suggested that the \htmladdnormallink{text}{URL} command is used instead, which produces a hyperlink using latex2html, but does NOT produce a footnote using LaTeX.


next up previous
Next: Including HTML commands Up: Cross-referencing Previous: Referencing parts of the
Mike Corcoran 2002-02-15