Debian Codegraph @

ru/refpages/elements/title/refentry.xml

raw symbols SCIP
1 <refentry id="title.element">
2 <?dbhtml filename="title.html"?>
3 <refentryinfo>
4 <pubdate>$Date$</pubdate>
5 <releaseinfo>$Revision$</releaseinfo>
6 </refentryinfo>
7
8 <refmeta>
9 <indexterm><primary>elements</primary>
10 <secondary>title</secondary></indexterm>
11 <refentrytitle>title</refentrytitle>
12 <refmiscinfo>Element</refmiscinfo>
13 </refmeta>
14 <refnamediv>
15 <refname>title</refname>
16 <refpurpose>&title.purpose;</refpurpose>
17 </refnamediv>
18
19 &title.synopsis.gen;
20 <refsect1 condition='ref.description'><title>Description</title>
21
22 <para>
23 <sgmltag>Title</sgmltag> is widely used in DocBook. It identifies the
24 titles of documents and parts of documents, and is the required
25 caption on formal objects. It is also allowed as an optional
26 title or caption on many additional block elements.
27 </para>
28
29 <refsect2 id="dbreproc.title"><title>Processing expectations</title>
30 <para>
31 &format.block; Titles are often repeated in several locations,
32 for example, at the location where the object occurs, in the
33 <emphasis>table of contents</emphasis>, and in running headers and
34 footers.
35 </para>
36 <para>
37 DocBook does not offer any mechanism for indicating where a line
38 break should occur in long titles. Titles are often repeated
39 and no single line break is likely to be correct in all of the
40 places where a title is used. Instead, you will have to rely on
41 your processing system to provide a mechanism, such as a
42 processing instruction, for identifing the location of forced
43 line breaks.
44 </para>
45
46 <para>
47 There are some contexts in which a <sgmltag>Title</sgmltag> can appear more than
48 once. For example, it may appear in both <sgmltag>Book</sgmltag> and
49 <sgmltag>BookInfo</sgmltag>:
50
51 <screen>
52 &lt;book>&lt;title>Some Book Title&lt;/title>
53 &lt;bookinfo>
54 &lt;title>Some Book Title&lt;/title>
55 &lt;author>&lt;firstname>Some&lt;/firstname>&lt;surname>Author&lt;/surname>
56 &lt;/author>
57 &lt;/bookinfo>
58 &hellip;
59 </screen>
60 </para>
61
62 <para>
63 In these contexts, if the <sgmltag>Title</sgmltag> occurs more than once,
64 <emphasis>the same</emphasis> title must be used in both places.
65 It is an error to use different titles, although DocBook has
66 no way to detect the error.
67 </para>
68 </refsect2>
69
70 <refsect2 role='fu' revision="4.0"><title>&FutureChanges;</title>
71 <para>
72 <!--do not index this occurance-->
73 &fu.interfacedefinition;
74 </para>
75 </refsect2>
76
77
78 &title.parents.gen;
79 &title.children.gen;
80 </refsect1>
81 <refsect1 condition='ref.elem.attrdesc'><title>Attributes</title>
82 <variablelist>
83 <varlistentry><term>pagenum</term>
84 <listitem>
85 <para>
86 <sgmltag class="attribute">PageNum</sgmltag> identifies the page on which this
87 <sgmltag>Title</sgmltag> appears in some version of the printed document.
88 </para>
89 </listitem>
90 </varlistentry>
91 </variablelist>
92 </refsect1>
93 <refsect1 condition='ref.elem.seealso'><title>See Also</title>
94 &title.seealso.gen;
95 </refsect1>
96 <refsect1><title>Examples</title>
97
98 <informalexample role="example-source">
99 <programlisting>&title.example.1.txt;</programlisting>
100 </informalexample>
101
102 &title.example.seealso.gen;
103 </refsect1>
104 </refentry>
105