Debian Codegraph @

en/refpages/elements/part/refentry.xml

raw symbols SCIP
1 <refentry id="part.element">
2 <?dbhtml filename="part.html"?>
3 <refentryinfo>
4 <pubdate>$Date$</pubdate>
5 <releaseinfo>$Revision$</releaseinfo>
6 </refentryinfo>
7
8 <refmeta>
9 <indexterm><primary>elements</primary>
10 <secondary>part</secondary></indexterm>
11 <refentrytitle>part</refentrytitle>
12 <refmiscinfo>Element</refmiscinfo>
13 </refmeta>
14 <refnamediv>
15 <refname>part</refname>
16 <refpurpose>&part.purpose;</refpurpose>
17 </refnamediv>
18
19 &part.synopsis.gen;
20 <refsect1 condition='ref.description'><title>Description</title>
21
22 <para>
23 <sgmltag>Part</sgmltag>s segment a book into divisions. Each division can
24 contain a number of component-level elements, such as <sgmltag>Chapter</sgmltag>s.
25 </para>
26
27 <refsect2><title>Processing expectations</title>
28 <para>
29 &format.block; <sgmltag>Part</sgmltag>s almost always introduce a forced page
30 break. Sometimes starts on the next recto page.
31 Frequently, they also produce a part separator page, on which may
32 be printed the content of the <sgmltag>PartIntro</sgmltag>.
33 </para>
34 </refsect2>
35
36 <refsect2 role='fu' revision="4.0"><title>&FutureChanges;</title>
37 <para>
38 <indexterm><primary>DocBook DTD</primary><secondary>Changes for <acronym>V4.0</acronym></secondary>
39 </indexterm>
40 In DocBook <acronym>V4.0</acronym>, the <sgmltag>ToC</sgmltag> element in the content model
41 will be replaced by <sgmltag>TocChap</sgmltag>.
42 </para>
43 </refsect2>
44
45
46 &part.parents.gen;
47 &part.children.gen;
48 </refsect1>
49 <refsect1 condition='ref.elem.attrdesc'><title>Attributes</title>
50 <variablelist>
51 <varlistentry><term>label</term>
52 <listitem>
53 <para>
54 <sgmltag class='attribute'>Label</sgmltag> specifies an identifying string for presentation purposes. The first <sgmltag>Part</sgmltag> in a
55 <sgmltag>Book</sgmltag> might be labeled <quote>Part I</quote>, for example.
56 </para>
57 <para>
58 Generally, an explicit <sgmltag class='attribute'>Label</sgmltag> attribute is
59 used only if the processing system is incapable of generating the label
60 automatically. If present, the <sgmltag class='attribute'>Label</sgmltag>
61 is normative; it will used even
62 if the processing system is capable of automatic labelling.
63 </para>
64 </listitem>
65 </varlistentry>
66 <varlistentry><term>status</term>
67 <listitem>
68 <para>
69 <sgmltag class="attribute">Status</sgmltag> identifies the editorial or publication
70 status of the <sgmltag>Part</sgmltag>.
71 </para>
72 <para>
73 Publication status might be used to control formatting (for example,
74 printing a <quote>draft</quote> watermark on drafts) or processing (perhaps
75 a document with a status of <quote>final</quote> should not include any
76 components that are not final).
77 </para>
78 </listitem>
79 </varlistentry>
80 </variablelist>
81 </refsect1>
82 <refsect1 condition='ref.elem.seealso'><title>See Also</title>
83 &part.seealso.gen;
84 </refsect1>
85 <refsect1><title>Examples</title>
86
87 <para>
88 The following example comes from <citetitle>Java in a Nutshell</citetitle>:
89 </para>
90
91 <informalexample role="example-source">
92 <programlisting>&part.example.1.txt;</programlisting>
93 </informalexample>
94
95 &part.example.seealso.gen;
96 </refsect1>
97 </refentry>
98