Next: , Previous: , Up: Cross References   [Contents][Index]


8.9 @url, @uref{url[, text][, replacement]}

@uref produces a reference to a uniform resource locator (url). It takes one mandatory argument, the url, and two optional arguments which control the text that is displayed. In HTML and PDF output, @uref produces a link you can follow. (To merely indicate a url without creating a link people can follow, use @indicateurl, see @indicateurl.)

@url is a synonym for @uref. (Originally, @url had the meaning of @indicateurl, but in practice it was almost always misused. So we’ve changed the meaning.)

The second argument, if specified, is the text to display (the default is the url itself); in Info, DVI, and PDF output, but not in HTML output, the url is output in addition to this text.

The third argument, if specified, is the text to display, but in this case the url is not output in any format. This is useful when the text is already sufficiently referential, as in a man page. Also, if the third argument is given, the second argument is ignored.


Next: , Previous: , Up: Cross References   [Contents][Index]