pdftex and dvipdfmxyzzoom specifies magnification to use (zero or empty means leave
magnification unchanged, which is the default). This is the default
type.
For dvipdfm: the options
left and
top specify position coordinates to use (empty options mean
current position coordinate, which is the default).
Example: \hldest{xyz}{zoom=2000}{dest123}
fitExample: \hldest{fit}{}{dest123}
fithFor dvipdfm: the
top option specifies vertical position (default is empty, meaning
current position).
Example: \hldest{fith}{}{dest123}
fitvFor dvipdfm: The option
left specifies horizontal position (default is empty, meaning
current position).
Example: \hldest{fitv}{}{dest123}
fitbExample: \hldest{fitb}{}{dest123}
fitbhFor dvipdfm: the option
top specifies vertical position (default is empty, meaning
current position).
Example: \hldest{fitbh}{}{dest123}
fitbvFor dvipdfm: the option
left specifies horizontal position (default is empty, meaning
current position).
Example: \hldest{fitbv}{}{dest123}
fitrpdftex: fit the rectangle specified by the options
width,
height and
depth (as a TeX rule specification) in the window. For
dimensions set to empty, the corresponding value of the parent box is
used (these are the defaults).
For dvipdfm: fit the rectangle specified by the options
left,
bottom,
right and
top (in
PostScript points, 72 points per inch) in the window. For
dimensions set to empty, current position coordinate is substituted
(these are the defaults).
Example for pdftex:
\hldest{fitr}{width=\hsize,
height=.5\vsize,depth=0pt}{dest123}
Example for dvipdfm:
\hldest{fitr}{left=72,bottom=72,
right=720,top=360}{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 for pdftex:
\makeatletter
\def\mydest{\pdfdest name{\@hllabel} xyz}
\resetatcatcode
\hldesttype{raw}
\hldestopts{cmd=mydest}
Example for dvipdfm:
\makeatletter
\def\mydest{\special{pdf: dest (\@hllabel)
[@thispage /XYZ @xpos @ypos 0]}}
\resetatcatcode
\hldesttype{raw}
\hldestopts{cmd=mydest}