| 1 | <refentry id="book.element"> |
| 2 | <?dbhtml filename="book.html"?> |
| 3 | <refentryinfo> |
| 4 | <pubdate>$Date$</pubdate> |
| 5 | <releaseinfo>$Revision$</releaseinfo> |
| 6 | </refentryinfo> |
| 7 | |
| 8 | <refmeta> |
| 9 | <indexterm><primary>elements</primary> |
| 10 | <secondary>book</secondary></indexterm> |
| 11 | <refentrytitle>book</refentrytitle> |
| 12 | <refmiscinfo>Element</refmiscinfo> |
| 13 | </refmeta> |
| 14 | <refnamediv> |
| 15 | <refname>book</refname> |
| 16 | <refpurpose>&book.purpose;</refpurpose> |
| 17 | </refnamediv> |
| 18 | |
| 19 | &book.synopsis.gen; |
| 20 | <refsect1 condition='ref.description'><title>Description</title> |
| 21 | |
| 22 | <para> |
| 23 | A complete book. This is probably the most common document starting |
| 24 | point in DocBook documents. The content model of <sgmltag>Book</sgmltag> was |
| 25 | made dramatically less restrictive in DocBook <acronym>V3.1</acronym>. |
| 26 | </para> |
| 27 | |
| 28 | <refsect2><title>Processing expectations</title> |
| 29 | <para> |
| 30 | &format.block; Generally causes a forced page break, restarts |
| 31 | page numbering, and may generate additional front and back |
| 32 | matter (tables of contents and indexes, for example) automatically. |
| 33 | In a <sgmltag>Set</sgmltag>, <sgmltag>Book</sgmltag> almost always begins on the |
| 34 | next available recto page. |
| 35 | </para> |
| 36 | <para> |
| 37 | The input order of major components is taken to be the desired output |
| 38 | order. |
| 39 | </para> |
| 40 | </refsect2> |
| 41 | |
| 42 | |
| 43 | |
| 44 | &book.parents.gen; |
| 45 | &book.children.gen; |
| 46 | </refsect1> |
| 47 | <refsect1 condition='ref.elem.attrdesc'><title>Attributes</title> |
| 48 | <variablelist> |
| 49 | <varlistentry><term>fpi</term> |
| 50 | <listitem> |
| 51 | <para> |
| 52 | <sgmltag class="attribute">FPI</sgmltag> holds the Formal Public Identifier for |
| 53 | the <sgmltag>Book</sgmltag>. |
| 54 | </para> |
| 55 | </listitem> |
| 56 | </varlistentry> |
| 57 | <varlistentry><term>label</term> |
| 58 | <listitem> |
| 59 | <para> |
| 60 | <sgmltag class='attribute'>Label</sgmltag> specifies an identifying string for presentation purposes. The third <sgmltag>Book</sgmltag> in a |
| 61 | <sgmltag>Set</sgmltag> might be labeled <quote>Volume III</quote>, for example. |
| 62 | </para> |
| 63 | <para> |
| 64 | Generally, an explicit <sgmltag class='attribute'>Label</sgmltag> attribute is |
| 65 | used only if the processing system is incapable of generating the label |
| 66 | automatically. If present, the <sgmltag class='attribute'>Label</sgmltag> |
| 67 | is normative; it will used even |
| 68 | if the processing system is capable of automatic labelling. |
| 69 | </para> |
| 70 | </listitem> |
| 71 | </varlistentry> |
| 72 | <varlistentry><term>status</term> |
| 73 | <listitem> |
| 74 | <para> |
| 75 | <sgmltag class="attribute">Status</sgmltag> identifies the editorial or publication |
| 76 | status of the <sgmltag>Book</sgmltag>. |
| 77 | </para> |
| 78 | <para> |
| 79 | Publication status might be used to control formatting (for example, |
| 80 | printing a <quote>draft</quote> watermark on drafts) or processing (perhaps |
| 81 | a document with a status of <quote>final</quote> should not include any |
| 82 | components that are not final). |
| 83 | </para> |
| 84 | </listitem> |
| 85 | </varlistentry> |
| 86 | </variablelist> |
| 87 | </refsect1> |
| 88 | <refsect1 condition='ref.elem.seealso'><title>See Also</title> |
| 89 | &book.seealso.gen; |
| 90 | </refsect1> |
| 91 | <refsect1><title>Examples</title> |
| 92 | |
| 93 | <informalexample role="example-source"> |
| 94 | <programlisting>&book.example.1.txt;</programlisting> |
| 95 | </informalexample> |
| 96 | |
| 97 | &book.example.seealso.gen; |
| 98 | </refsect1> |
| 99 | </refentry> |
| 100 |