Next: , Up: Hyperlink driver hypertex


5.4.2.1 Destination types for hypertex

xyz
“Current position”. This is the default type.

Example: \hldest{xyz}{}{dest123}

raw
The destination specification (in the form of a HyperTeX \special) is taken from the command sequence \cs, where cs is the value of the cmd option. In the definition of \cs, use \@hllabel to refer to the hyperlink label. This option is intended to be used with destgroups (see Setting hyperlink types and options), as it does not make sense in a direct call to \hldest—you can just call the raw command.

Example:

          \makeatletter
          \def\mydest{\special{html:<a name="\@hllabel">}%
                      \special{html:</a>}}
          \resetatcatcode
          \indent\hldest{raw}{cmd=mydest}{SpecialDest}
            Special destination.