Next: Including Arbitrary HTML Markup Up: Hypertext Extensions to LaTeX Previous: Hypertext Extensions to LaTeX

## Hyperlinks in LaTeX

Arbitrary hypertext references are available through the commands htmladdnormallink and htmladdimg.

These are defined as follows:

```\htmladdnormallink{<text>}{<URL>}
\htmladdimg{<URL>}```
The first command expects some text as the first argument and a URL as the second argument. When processed by LaTeX (i.e. in the dvi or ps output files), the URL will have no effect. But when processed by the translator, the URL will be used to provide an active hypertext link (to another file, picture, sound file, movie, etc) e.g.
```\htmladdnormallink{<URL>}
{http://www.ncsa.uiuc.edu/demoweb/url-primer.html}```

A similar command called htmladdnormallinkfoot takes the same two arguments and has the same effect when generating HTML as htmladdnormallink. But when processed by LaTeX it shows the URL as a footnote.

In a similar way, the argument of the htmladdimg command should be a URL pointing to an image. This URL is ignored in the LaTeX hard copy output.

Tim Love
Thu Mar 14 11:15:46 GMT 1996