hypertexxyzExample: \hldest{xyz}{}{dest123}
raw\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.