|
Prev | Next | xref |
| Syntax |
$xref%tag%$$ |
$xref%tag%heading%$$ | |
$xref%tag%heading%linkingtext%$$ | |
$xref%tag%heading%linkingtext%frame%$$ | |
$xref%tag%heading%subheading%linkingtext%frame%$$
| |
| See Also href , mref , tref |
xref command has been deprecated
and it is suggested that you use the cref
command instead.
%tag%heading%subheading%linkingtext%frame%
is a delimiter sequence
and % can be any character that is not a letter.
Leading and trailing white space in
tag,
heading,
subheading,
linkingtext,
and
frame
is ignored.
Thus is useful when the argument list the xref is long.
xref command
must be the corresponding destination heading followed by a
single period ('.') followed by the destination subheading.
$xref/head/$$
tag is equal to head,
heading is not present,
subheading is not present,
linkingtext is not present,
and frame is not present.
Thus the linking text is head
and the entire window is replaced by the link.
You can see the effect by selecting the following link: head
.
$xref/head//OMhelp headings/$$
tag is equal to head,
heading is empty,
subheading is not present,
linkingtext is equal to OMhelp headings,
and frame is not present.
You can see the effect by selecting the following link:
OMhelp headings
.
$xref/head/Example Heading/example heading/$$
tag is equal to head,
heading is equal to Example Heading,
subheading is not present,
linkingtext is equal to example heading,
and frame is not present.
Thus frame number 1 is replaced by the link
and the linking text is in italic.
You can see the effect by selecting the following link:
example heading
$xref/head/Example Heading/example heading/2/$$
tag is equal to head,
heading is equal to Example Heading,
subheading is not present,
linkingtext is equal to example heading,
and frame is equal to 2.
Thus frame number 2 corresponds to the link
and the linking text is in italic.
You can see the effect of the xref command above by selecting
the following link:
example heading
For information about frames see
Dividing A Section Into Frames.
$xref/
head/
Example Subheading/
Topic/
the Topic example subheading/
1
/$$
tag is equal to head,
heading is equal to Example Subheading
subheading is equal to Topic,
linkingtext is equal to
the Topic example subheading,
and frame is equal to one.
You can see the effect of the xref command above by selecting
the following link:
the Topic example subheading
omhelp is run.
In this case, no linkage is attempted and the linking text is
displayed in red.
White space
characters in the
heading and subheading are just delimiters between tokens
when searching for the matching link.
Thus you can split long headings and subheadings into multiple lines.