Prev | Next | cref |
$cref%text%$$
$cref%text%tag%$$
$cref%text%tag%heading%$$
$cref%text%tag%heading%subheading%$$
%text%tag%heading%subheading%
is a delimiter sequence
and %
can be any character that is not a letter.
Leading and trailing white space in
text
,
tag
,
heading
,
and
subheading
is ignored.
Thus is useful when the argument list the cref
is long
and is clearer when put on multiple input lines.
text
specifies the text
that the user selects for the link.
tag
specifies the destination
cross reference tag
for the link.
If
tag
is not present,
the value of
text
is used for the cross reference tag.
heading
specifies the
destination heading
for the link
(within the section specified by
tag
).
If this heading is not present,
the link is to the corresponding entire
section
specified by
tag
.
subheading
specifies the
destination subheading
for the link
(within the section specified by
tag
and the heading
specified by
heading
).
$cref/head/$$
text
is equal to head
,
tag
is not present,
heading
is not present, and
subheading
is not present.
The users sees the text head
,
this links to the section
with cross reference tag equal to head
,
and the link is to the beginning of the section
(not a heading within the section).
You can see the effect of this by following the link:
head
.
$cref/OMhelp Headings/head/$$
text
is equal to OMhelp Headings
,
tag
is equal to head
,
heading
is not present, and
subheading
is not present.
You can see the effect by selecting the following link:
OMhelp Headings
.
$cref/example heading/head/Example Heading/$$
text
is equal to example heading
,
tag
is equal to head
,
heading
is equal to Example Heading
, and
subheading
is not present.
You can see the effect by selecting the following link:
example heading
.
$cref/
the Topic example subheading/
head/
Example Subheading/
Topic
/$$
text
is equal to the Topic example subheading
,
tag
is equal to head
,
heading
is equal to Example Subheading
, and
subheading
is equal to Topic
.
You can see the effect 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.