| 1 | <refentry id="refnamediv.element"> |
| 2 | <?dbhtml filename="refnamediv.html"?> |
| 3 | <refentryinfo> |
| 4 | <pubdate>$Date$</pubdate> |
| 5 | <releaseinfo>$Revision$</releaseinfo> |
| 6 | </refentryinfo> |
| 7 | |
| 8 | <refmeta> |
| 9 | <indexterm><primary>elements</primary> |
| 10 | <secondary>refnamediv</secondary></indexterm> |
| 11 | <refentrytitle>refnamediv</refentrytitle> |
| 12 | <refmiscinfo>Element</refmiscinfo> |
| 13 | </refmeta> |
| 14 | <refnamediv> |
| 15 | <refname>refnamediv</refname> |
| 16 | <refpurpose>&refnamediv.purpose;</refpurpose> |
| 17 | </refnamediv> |
| 18 | |
| 19 | &refnamediv.synopsis.gen; |
| 20 | <refsect1 condition='ref.description'><title>Description</title> |
| 21 | |
| 22 | <para> |
| 23 | <sgmltag>RefNameDiv</sgmltag> is the first mandatory section in a |
| 24 | <sgmltag>RefEntry</sgmltag>. It is a peer to |
| 25 | <sgmltag>RefSynopsisDiv</sgmltag> and <sgmltag>RefSect1</sgmltag>. |
| 26 | </para> |
| 27 | <para> |
| 28 | The elements in <sgmltag>RefNameDiv</sgmltag> identify the topic of the |
| 29 | reference page (<sgmltag>RefDescriptor</sgmltag> or <sgmltag>RefName</sgmltag>), provide a |
| 30 | concise summary (<sgmltag>RefPurpose</sgmltag>), and classify the |
| 31 | page (<sgmltag>RefClass</sgmltag>). |
| 32 | </para> |
| 33 | |
| 34 | <refsect2><title>Processing expectations</title> |
| 35 | <para> |
| 36 | &format.block; <sgmltag>RefNameDiv</sgmltag> usually generates a |
| 37 | section heading, in the same typographic style as a |
| 38 | <sgmltag>RefSect1</sgmltag> <sgmltag>Title</sgmltag>, called <quote>Name.</quote> |
| 39 | </para> |
| 40 | <para> |
| 41 | The content of this section is traditionally the <sgmltag>RefDescriptor</sgmltag> |
| 42 | or <sgmltag>RefName</sgmltag>, and the <sgmltag>RefPurpose</sgmltag>, separated by an |
| 43 | em dash. |
| 44 | </para> |
| 45 | <para> |
| 46 | The <sgmltag>RefClass</sgmltag> may be presented, or it may be suppressed and used |
| 47 | only to select a group of reference pages to process. You might use the value of <sgmltag>RefClass</sgmltag> to print all the reference pages |
| 48 | appropriate to <productname>Solaris</productname> &UNIX;, for example. |
| 49 | </para> |
| 50 | <para> |
| 51 | Formatting reference pages may require a fairly sophisticated |
| 52 | processing system. Much of the meta-information about a |
| 53 | reference page (its name, type, purpose, title, and |
| 54 | classification) is stored in wrappers near the beginning of |
| 55 | the <sgmltag>RefEntry</sgmltag>. |
| 56 | </para> |
| 57 | <para> |
| 58 | Common presentational features, such as titles and running |
| 59 | headers, may require data from several of these wrappers plus |
| 60 | some generated text. Other formatting often requires that |
| 61 | these elements be reordered. |
| 62 | </para> |
| 63 | </refsect2> |
| 64 | |
| 65 | |
| 66 | |
| 67 | &refnamediv.parents.gen; |
| 68 | &refnamediv.children.gen; |
| 69 | </refsect1> |
| 70 | <refsect1 condition='ref.elem.seealso'><title>See Also</title> |
| 71 | &refnamediv.seealso.gen; |
| 72 | </refsect1> |
| 73 | <refsect1><title>Examples</title> |
| 74 | |
| 75 | &refnamediv.example.seealso.gen; |
| 76 | </refsect1> |
| 77 | </refentry> |
| 78 |