$Date$
$Revision$
elements
refentry
refentry
Element
refentry
&refentry.purpose;
&refentry.synopsis.gen;
Description
A RefEntry is a reference page. In &UNIX; parlance this has
historically been called a “man page” (short for manual page).
RefEntry is an appropriate wrapper for any small unit of
reference documentation describing a single topic. Canonical examples
are programming language functions and user commands
(one RefEntry per function or command).
You're reading a RefEntry right now.
On some projects, the structure of reference pages may be rigorously
defined right down to the number, order, and title of individual sections
(some or all of which may be required).
Processing expectations
&format.block; It is not uncommon for RefEntrys to introduce
a forced page break in print media.
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
heads, may require data from several of these wrappers plus
some generated text. Other formatting often requires that
these elements be reordered.
&refentry.parents.gen;
&refentry.children.gen;
Attributes
status
Status identifies the editorial or publication
status of the RefEntry.
Publication status might be used to control formatting (for example,
printing a draft
watermark on drafts) or processing (perhaps
a document with a status of final
should not include any
components that are not final).
Examples
A typical reference page for a command:
&refentry.example.1.txt;
A typical reference page for a function:
&refentry.example.2.txt;
A reference page for a data structure:
&refentry.example.3.txt;
&refentry.example.seealso.gen;