Name
refnamediv — The name, purpose, and classification of a reference page
Synopsis
refnamediv ::=
(refdescriptor?,
refname+, refpurpose,
refclass*)
Attribute synopsis
Description
A refnamediv is the first mandatory section in
a refentry. It is a peer to
refsynopsisdiv and
refsect1.
The elements in refnamediv identify the topic
of the reference page (refdescriptor or
refname), provide a concise summary
(refpurpose), and classify the page
(refclass).
Processing expectations
Formatted as a displayed block. A refnamediv
usually generates a section heading, in the same typographic style as
a refsect1 title, called
“Name.”
The content of this section is traditionally the
refdescriptor or refname, and
the refpurpose, separated by
an em dash.
The refclass may be presented, or it may be
suppressed and used only to select a group of reference pages to
process. You might use the value of refclass to
print all the reference pages appropriate to Solaris
UNIX, for example.
Formatting reference pages may require a fairly sophisticated
processing system. Much of the meta-information about a reference page
(its name, type, purpose, title, and classification) is stored in
wrappers near the beginning of the refentry.
Common presentational features, such as titles and running headers, may require data from several of these wrappers plus some generated text. Other formatting often requires that these elements be reordered.
See Also
refsect1, refsect2, refsect3,
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access