Debian Codegraph @

ru/refpages/elements/sect1/refentry.xml

raw symbols SCIP
1 <refentry id="sect1.element">
2 <?dbhtml filename="sect1.html"?>
3 <refentryinfo>
4 <pubdate>$Date$</pubdate>
5 <releaseinfo>$Revision$</releaseinfo>
6 </refentryinfo>
7
8 <refmeta>
9 <indexterm><primary>elements</primary>
10 <secondary>sect1</secondary></indexterm>
11 <refentrytitle>sect1</refentrytitle>
12 <refmiscinfo>Element</refmiscinfo>
13 </refmeta>
14 <refnamediv>
15 <refname>sect1</refname>
16 <refpurpose>&sect1.purpose;</refpurpose>
17 </refnamediv>
18
19 &sect1.synopsis.gen;
20 <refsect1 condition='ref.description'><title>Description</title>
21
22 <para>
23 <sgmltag>Sect1</sgmltag> is one of the top-level sectioning elements in
24 a component. There are three types of sectioning elements in
25 DocBook:
26 </para>
27
28 <itemizedlist>
29 <listitem><para>
30 Explicitly numbered sections, <sgmltag>Sect1</sgmltag>&hellip;<sgmltag>Sect5</sgmltag>,
31 which must be properly nested and can only be five levels deep.
32 </para></listitem>
33 <listitem><para>
34 Recursive <sgmltag>Section</sgmltag>s, which are alternative to the numbered
35 sections and have unbounded depth.
36 </para></listitem>
37 <listitem><para>
38 <sgmltag>SimpleSect</sgmltag>s, which are terminal. <sgmltag>SimpleSect</sgmltag>s can
39 occur as the <quote>leaf</quote> sections in either recursive sections or any
40 of the numbered sections, or directly in components.
41 </para></listitem>
42 </itemizedlist>
43
44 <para>
45 None of the sectioning elements is allowed to <quote>float</quote> in
46 a component. You can place paragraphs and other block elements
47 before a section, but you cannot place anything after it.
48 </para>
49
50 <para>
51 This means that you cannot have content in the <sgmltag>Sect1</sgmltag>
52 after the end of a <sgmltag>Sect2</sgmltag>. This is consistent with
53 the DocBook book model, because in a printed book it is usually
54 impossible for a reader to detect the end of the enclosed
55 second level section and, therefore, all content after a second
56 level section appears in that section.
57 </para>
58
59 <refsect2><title>Processing Expectations</title>
60 <para>
61 &format.block; Sometimes sections are numbered.
62 </para>
63 </refsect2>
64
65 <refsect2 role='fu' revision="4.0"><title>&FutureChanges;</title>
66 <para>
67 <indexterm><primary>DocBook DTD</primary><secondary>Changes for <acronym>V4.0</acronym></secondary>
68 </indexterm>
69 In DocBook <acronym>V4.0</acronym>, the <sgmltag>ToC</sgmltag> element in the content model
70 will be replaced by <sgmltag>TocChap</sgmltag>.
71 </para>
72 </refsect2>
73
74
75 &sect1.parents.gen;
76 &sect1.children.gen;
77 </refsect1>
78 <refsect1 condition='ref.elem.attrdesc'><title>Attributes</title>
79 <variablelist>
80 <varlistentry><term>label</term>
81 <listitem>
82 <para>
83 <sgmltag class='attribute'>Label</sgmltag> specifies an identifying string for presentation purposes.
84 </para>
85 <para>
86 Generally, an explicit <sgmltag class='attribute'>Label</sgmltag> attribute is
87 used only if the processing system is incapable of generating the label
88 automatically. If present, the <sgmltag class='attribute'>Label</sgmltag>
89 is normative; it will used even
90 if the processing system is capable of automatic labelling.
91 </para>
92 </listitem>
93 </varlistentry>
94 <varlistentry><term>renderas</term>
95 <listitem>
96 <para>
97 The <sgmltag class="attribute">RenderAs</sgmltag> attribute identifies how the
98 section should be rendered. In this way, a section at one level of the
99 structural hierarchy can be made to appear to be at another level.
100 </para>
101 </listitem>
102 </varlistentry>
103 <varlistentry><term>status</term>
104 <listitem>
105 <para>
106 <sgmltag class="attribute">Status</sgmltag> identifies the editorial or publication
107 status of the <sgmltag>Sect1</sgmltag>.
108 </para>
109 <para>
110 Publication status might be used to control formatting (for example,
111 printing a <quote>draft</quote> watermark on drafts) or processing (perhaps
112 a document with a status of <quote>final</quote> should not include any
113 components that are not final).
114 </para>
115 </listitem>
116 </varlistentry>
117 </variablelist>
118 </refsect1>
119 <refsect1 condition='ref.elem.seealso'><title>See Also</title>
120 &sect1.seealso.gen;
121 </refsect1>
122 <refsect1><title>Examples</title>
123
124 &sect1.example.seealso.gen;
125 </refsect1>
126 </refentry>
127