| 1 | <refentry id="manvolnum.element"> |
| 2 | <?dbhtml filename="manvolnum.html"?> |
| 3 | <refentryinfo> |
| 4 | <pubdate>$Date$</pubdate> |
| 5 | <releaseinfo>$Revision$</releaseinfo> |
| 6 | </refentryinfo> |
| 7 | |
| 8 | <refmeta> |
| 9 | <indexterm><primary>elements</primary> |
| 10 | <secondary>manvolnum</secondary></indexterm> |
| 11 | <refentrytitle>manvolnum</refentrytitle> |
| 12 | <refmiscinfo>Element</refmiscinfo> |
| 13 | </refmeta> |
| 14 | <refnamediv> |
| 15 | <refname>manvolnum</refname> |
| 16 | <refpurpose>&manvolnum.purpose;</refpurpose> |
| 17 | </refnamediv> |
| 18 | |
| 19 | &manvolnum.synopsis.gen; |
| 20 | <refsect1 condition='ref.description'><title>Description</title> |
| 21 | |
| 22 | <para> |
| 23 | In a DocBook reference page, the <sgmltag>ManVolNum</sgmltag> holds |
| 24 | the number of the volume in which the <sgmltag>RefEntry</sgmltag> belongs. |
| 25 | </para> |
| 26 | <para> |
| 27 | The notion of a volume number is historical. &UNIX; manual pages (<quote>man |
| 28 | pages</quote>), for which <sgmltag>RefEntry</sgmltag> was devised, were typically |
| 29 | stored in three ring binders. Each bound manual was a volume in a set |
| 30 | and contained information about a particular class of things. For |
| 31 | example, volume 1 was for user commands, and volume 8 was for administrator |
| 32 | commands. |
| 33 | </para> |
| 34 | <para> |
| 35 | Volume numbers need not be strictly numerical; volume |
| 36 | <quote>l</quote> frequently held manual pages for local |
| 37 | additions to the system, and the X Window System manual pages |
| 38 | had an <quote>x</quote> in the volume number: for example, |
| 39 | 1x. |
| 40 | </para> |
| 41 | |
| 42 | <refsect2><title>Processing expectations</title> |
| 43 | <para> |
| 44 | The content of <sgmltag>ManVolNum</sgmltag> is usually printed in parentheses |
| 45 | after the element title or citation. |
| 46 | </para> |
| 47 | </refsect2> |
| 48 | |
| 49 | |
| 50 | &manvolnum.parents.gen; |
| 51 | &manvolnum.children.gen; |
| 52 | </refsect1> |
| 53 | <refsect1><title>Examples</title> |
| 54 | |
| 55 | <informalexample role="example-source"> |
| 56 | <programlisting>&manvolnum.example.1.txt;</programlisting> |
| 57 | </informalexample> |
| 58 | |
| 59 | <anchor id="ex.os.manvolnum.1" role="HACK-ex.out.start"/> |
| 60 | &manvolnum.example.1.gen; |
| 61 | <anchor id="ex.oe.manvolnum.1" role="HACK-ex.out.end"/> |
| 62 | |
| 63 | &manvolnum.example.seealso.gen; |
| 64 | </refsect1> |
| 65 | </refentry> |
| 66 |