On this page:
4.2.7 Links

See also Links.

(racketlink id pre-content ...)
  id : identifier?
  pre-content : pre-content?
An element where the decoded pre-content is hyperlinked to the definition of id.

(schemelink id pre-content ...)
Compatibility alias for racketlink.

(link url    
  pre-content ...    
  [#:underline? underline?    
  #:style style])  element?
  url : string?
  pre-content : any/c
  underline? : any/c = #t
  style : (or/c style? string? symbol? #f)
   = (if underline? #f "plainlink")
Alias of hyperlink for backward compatibility.

(other-manual module-path    
  [#:underline? underline?])  element?
  module-path : module-path?
  underline? : any/c = #t
Alias of other-doc for backward compatibility.

(deftech pre-content ... [#:style? style?])  element?
  pre-content : pre-content?
  style? : boolean? = #t
Produces an element for the decoded pre-content, and also defines a term that can be referenced elsewhere using tech.

The content->string result of the decoded pre-content is used as a key for references, but normalized as follows:

These normalization steps help support natural-language references that differ slightly from a defined form. For example, a definition of “bananas” can be referenced with a use of “banana”.

If style? is true, then defterm is used on pre-content.

(tech pre-content    
  [#:doc module-path    
  #:tag-prefixes prefixes])  element?
  pre-content : pre-content?
  module-path : (or/c module-path? false/c) = #f
  prefixes : (or/c (listof string?) false/c) = #f
Produces an element for the decoded pre-content, and hyperlinks it to the definition of the content as established by deftech. The content’s string form is normalized in the same way as for deftech. The #:doc and #:tag-prefixes arguments support cross-document and section-specific references, like in secref.

With the default style files, the hyperlink created by tech is somewhat quieter than most hyperlinks: the underline in HTML output is gray, instead of blue, and the term and underline turn blue only when the mouse is moved over the term.

In some cases, combining both natural-language uses of a term and proper linking can require some creativity, even with the normalization performed on the term. For example, if “bind” is defined, but a sentence uses the term “binding,” the latter can be linked to the former using @tech{bind}ing.

(techlink pre-content    
  [#:doc module-path    
  #:tag-prefixes prefixes])  element?
  pre-content : pre-content?
  module-path : (or/c module-path? false/c) = #f
  prefixes : (or/c (listof string?) false/c) = #f
Like tech, but the link is not a quiet. For example, in HTML output, a hyperlink underline appears even when the mouse is not over the link.