| 1 | <refentry id="reference.element"> |
| 2 | <?dbhtml filename="reference.html"?> |
| 3 | <refentryinfo> |
| 4 | <pubdate>$Date$</pubdate> |
| 5 | <releaseinfo>$Revision$</releaseinfo> |
| 6 | </refentryinfo> |
| 7 | |
| 8 | <refmeta> |
| 9 | <indexterm><primary>elements</primary> |
| 10 | <secondary>reference</secondary></indexterm> |
| 11 | <refentrytitle>reference</refentrytitle> |
| 12 | <refmiscinfo>Element</refmiscinfo> |
| 13 | </refmeta> |
| 14 | <refnamediv> |
| 15 | <refname>reference</refname> |
| 16 | <refpurpose>&reference.purpose;</refpurpose> |
| 17 | </refnamediv> |
| 18 | |
| 19 | &reference.synopsis.gen; |
| 20 | <refsect1 condition='ref.description'><title>Description</title> |
| 21 | |
| 22 | <para>A <sgmltag>Reference</sgmltag> is a collection of |
| 23 | <sgmltag>RefEntry</sgmltag>s. In a <sgmltag>Book</sgmltag>, a |
| 24 | <sgmltag>Reference</sgmltag> can occur at either the <sgmltag>Part</sgmltag> |
| 25 | or <sgmltag>Chapter</sgmltag> level. |
| 26 | </para> |
| 27 | |
| 28 | <para> |
| 29 | Reference pages are usually bound together by topic; in traditional |
| 30 | &UNIX; documentation they are most frequently bound into volumes. See |
| 31 | <sgmltag>ManVolNum</sgmltag>. |
| 32 | </para> |
| 33 | |
| 34 | <refsect2><title>Processing expectations</title> |
| 35 | <para> |
| 36 | &format.block; <sgmltag>References</sgmltag>s often introduce a forced |
| 37 | page break and may start on the next recto page. Frequently, |
| 38 | they also produce a separator page, on which may be printed the |
| 39 | content of the <sgmltag>PartIntro</sgmltag>. |
| 40 | </para> |
| 41 | </refsect2> |
| 42 | |
| 43 | |
| 44 | |
| 45 | &reference.parents.gen; |
| 46 | &reference.children.gen; |
| 47 | </refsect1> |
| 48 | <refsect1 condition='ref.elem.attrdesc'><title>Attributes</title> |
| 49 | <variablelist> |
| 50 | <varlistentry><term>label</term> |
| 51 | <listitem> |
| 52 | <para> |
| 53 | <sgmltag class='attribute'>Label</sgmltag> specifies an identifying string for presentation purposes. |
| 54 | </para> |
| 55 | <para> |
| 56 | Generally, an explicit <sgmltag class='attribute'>Label</sgmltag> attribute is |
| 57 | used only if the processing system is incapable of generating the label |
| 58 | automatically. If present, the <sgmltag class='attribute'>Label</sgmltag> |
| 59 | is normative; it will used even |
| 60 | if the processing system is capable of automatic labelling. |
| 61 | </para> |
| 62 | </listitem> |
| 63 | </varlistentry> |
| 64 | <varlistentry><term>status</term> |
| 65 | <listitem> |
| 66 | <para> |
| 67 | <sgmltag class="attribute">Status</sgmltag> identifies the editorial or publication |
| 68 | status of the <sgmltag>Reference</sgmltag>. |
| 69 | </para> |
| 70 | <para> |
| 71 | Publication status might be used to control formatting (for example, |
| 72 | printing a <quote>draft</quote> watermark on drafts) or processing (perhaps |
| 73 | a document with a status of <quote>final</quote> should not include any |
| 74 | components that are not final). |
| 75 | </para> |
| 76 | </listitem> |
| 77 | </varlistentry> |
| 78 | </variablelist> |
| 79 | </refsect1> |
| 80 | <refsect1><title>Examples</title> |
| 81 | |
| 82 | <informalexample role="example-source"> |
| 83 | <programlisting>&reference.example.1.txt;</programlisting> |
| 84 | </informalexample> |
| 85 | |
| 86 | &reference.example.seealso.gen; |
| 87 | </refsect1> |
| 88 | </refentry> |
| 89 |