Debian Codegraph @

en/refpages/elements/refsect1/refentry.xml

raw symbols SCIP
1 <refentry id="refsect1.element">
2 <?dbhtml filename="refsect1.html"?>
3 <refentryinfo>
4 <pubdate>$Date$</pubdate>
5 <releaseinfo>$Revision$</releaseinfo>
6 </refentryinfo>
7
8 <refmeta>
9 <indexterm><primary>elements</primary>
10 <secondary>refsect1</secondary></indexterm>
11 <refentrytitle>refsect1</refentrytitle>
12 <refmiscinfo>Element</refmiscinfo>
13 </refmeta>
14 <refnamediv>
15 <refname>refsect1</refname>
16 <refpurpose>&refsect1.purpose;</refpurpose>
17 </refnamediv>
18
19 &refsect1.synopsis.gen;
20 <refsect1 condition='ref.description'><title>Description</title>
21
22 <para>Reference pages have their own hierarchical structure. A
23 <sgmltag>RefSect1</sgmltag> is a major division in a
24 <sgmltag>RefEntry</sgmltag>, analagous to a <sgmltag>Sect1</sgmltag> elsewhere
25 in the document.
26 </para>
27
28 <para>
29 The value of a separate hierarchical structure is that it allows
30 the content model of sections in reference pages to be
31 customized differently than the content model of sections
32 outside. For example, because of this split, it was easy to add
33 a recursive sectioning element (<sgmltag>Section</sgmltag>) as a peer
34 to <sgmltag>Sect1</sgmltag> in DocBook <acronym>V3.1</acronym> without introducing it to
35 <sgmltag>RefEntry</sgmltag>s, in which it would not be desirable.
36 </para>
37
38 <refsect2><title>Processing expectations</title>
39 <para>
40 &format.block;
41 </para>
42 <para>
43 In some environments, the name, number, and order of major divisions
44 in a reference page is strictly defined by house style. For example,
45 one style requires that the first major section after the synopsis
46 be the <quote>Description,</quote> which it must have as its title.
47 </para>
48 <para>
49 In those cases, it may be useful to replace <sgmltag>RefSect1</sgmltag> in
50 the content model with a set of named sections (following the pattern
51 of <sgmltag>RefNameDiv</sgmltag> and <sgmltag>RefSynopsisDiv</sgmltag>).
52 </para>
53 <para>
54 Formatting reference pages may require a fairly sophisticated
55 processing system. Much of the meta-information about a
56 reference page (its name, type, purpose, title, and
57 classification) is stored in wrappers near the beginning of
58 the <sgmltag>RefEntry</sgmltag>.
59 </para>
60 <para>
61 Common presentational features, such as titles and running
62 headers, may require data from several of these wrappers plus
63 some generated text. Other formatting often requires that
64 these elements be reordered.
65 </para>
66 </refsect2>
67
68
69 &refsect1.parents.gen;
70 &refsect1.children.gen;
71 </refsect1>
72 <refsect1 condition='ref.elem.attrdesc'><title>Attributes</title>
73 <variablelist>
74 <varlistentry><term>status</term>
75 <listitem>
76 <para>
77 <sgmltag class="attribute">Status</sgmltag> identifies the editorial or publication
78 status of the <sgmltag>RefSect1</sgmltag>.
79 </para>
80 <para>
81 Publication status might be used to control formatting (for example,
82 printing a <quote>draft</quote> watermark on drafts) or processing (perhaps
83 a document with a status of <quote>final</quote> should not include any
84 components that are not final).
85 </para>
86 </listitem>
87 </varlistentry>
88 </variablelist>
89 </refsect1>
90 <refsect1 condition='ref.elem.seealso'><title>See Also</title>
91 &refsect1.seealso.gen;
92 </refsect1>
93 <refsect1><title>Examples</title>
94
95 &refsect1.example.seealso.gen;
96 </refsect1>
97 </refentry>
98