Debian Codegraph @

ru/refpages/elements/para/refentry.xml

raw symbols SCIP
1 <refentry id="para.element">
2 <?dbhtml filename="para.html"?>
3 <refentryinfo>
4 <pubdate>$Date$</pubdate>
5 <releaseinfo>$Revision$</releaseinfo>
6 </refentryinfo>
7
8 <refmeta>
9 <indexterm><primary>elements</primary>
10 <secondary>para</secondary></indexterm>
11 <refentrytitle>para</refentrytitle>
12 <refmiscinfo>Element</refmiscinfo>
13 </refmeta>
14 <refnamediv>
15 <refname>para</refname>
16 <refpurpose>&para.purpose;</refpurpose>
17 </refnamediv>
18
19 &para.synopsis.gen;
20 <refsect1 condition='ref.description'><title>Description</title>
21
22 <para>
23 A <sgmltag>Para</sgmltag> is a paragraph. Paragraphs in DocBook may contain
24 almost all inlines and most block elements. Sectioning and higher-level
25 structural elements are excluded. DocBook offers two variants of paragraph:
26 <sgmltag>SimPara</sgmltag>, which cannot contain block elements, and
27 <sgmltag>FormalPara</sgmltag>, which has a title.
28 </para>
29
30 <para>
31 Some processing systems may find the presence of block elements in a
32 paragraph difficult to handle.
33 On the other hand, it is frequently
34 most logical, from a structural point of view, to include block elements,
35 especially informal block elements, in the paragraphs that describe their
36 content. There is no easy answer to this problem.
37 </para>
38
39 <refsect2><title>Processing expectations</title>
40 <para>
41 &format.block;
42 </para>
43 </refsect2>
44
45 <refsect2 role='fu' revision="4.0"><title>&FutureChanges;</title>
46 <para>
47 <!--do not index this occurance-->
48 &fu.interfacedefinition;
49 </para>
50 </refsect2>
51
52
53 &para.parents.gen;
54 &para.children.gen;
55 </refsect1>
56 <refsect1 condition='ref.elem.seealso'><title>See Also</title>
57 &para.seealso.gen;
58 </refsect1>
59 <refsect1><title>Examples</title>
60
61 <para>
62 Ordinary paragraphs can contain most block elements:
63 </para>
64
65 <informalexample role="example-source">
66 <programlisting>&para.example.1.txt;</programlisting>
67 </informalexample>
68
69 <anchor id="ex.os.para.1" role="HACK-ex.out.start"/>
70 &para.example.1.gen;
71 <anchor id="ex.oe.para.1" role="HACK-ex.out.end"/>
72
73 <para>
74 Formal paragraphs include a title:
75 </para>
76
77 <informalexample role="example-source">
78 <programlisting>&para.example.2.txt;</programlisting>
79 </informalexample>
80
81 <anchor id="ex.os.para.2" role="HACK-ex.out.start"/>
82 &para.example.2.gen;
83 <anchor id="ex.oe.para.2" role="HACK-ex.out.end"/>
84
85 <para>
86 Simple paragraphs may not contain block elements:
87 </para>
88
89 <informalexample role="example-source">
90 <programlisting>&para.example.3.txt;</programlisting>
91 </informalexample>
92
93 <anchor id="ex.os.para.3" role="HACK-ex.out.start"/>
94 &para.example.3.gen;
95 <anchor id="ex.oe.para.3" role="HACK-ex.out.end"/>
96
97 &para.example.seealso.gen;
98 </refsect1>
99 </refentry>
100