para

para — A paragraph.

Synopsis

para ::=

Attributes

Common attributes and common linking attributes.

Description

A para is a paragraph. Paragraphs in DocBook may contain almost all inlines and most block elements. Sectioning and higher-level structural elements are excluded.

Some processing systems may find the presence of block elements in a paragraph difficult to handle. On the other hand, it is frequently most logical, from a structural point of view, to include block elements, especially informal block elements, in the paragraphs that describe their content. There is no easy answer to this problem.

Processing expectations

Formatted as a displayed block.

Parents

These elements contain para: abstract, appendix, article, bibliodiv, bibliography, blockquote, caption (db.caption), entry, epigraph, example, figure, footnote, itemizedlist, legalnotice, listitem, note, orderedlist, personblurb, revdescription, section, sidebar, td, textobject, th, variablelist.

Children

The following elements occur in para: text, abbrev, acronym, author, citetitle, command, computeroutput, editor, email, emphasis, filename, footnote, footnoteref, info (db.titleforbidden.info), inlinemediaobject, link, literal, option, orgname, personname, phrase (db.phrase), quote, replaceable, subscript, superscript, systemitem, trademark, userinput, xref.

Examples

An ordinary paragraph.

 1 |<article xmlns='http://docbook.org/ns/docbook'>
   |<title>Example para</title>
   | 
   |<para>The component suffered from three failings:
 5 |<itemizedlist>
   |<listitem><para>It was slow</para></listitem>
   |<listitem><para>It ran hot</para></listitem>
   |<listitem><para>It didn't actually work</para></listitem>
   |</itemizedlist>
10 |Of these three, the last was probably the most important.
   |</para>
   | 
   |</article>

The component suffered from three failings:

  • It was slow

  • It ran hot

  • It didn't actually work

Of these three, the last was probably the most important.

A formal paragraph.

 1 |<article xmlns='http://docbook.org/ns/docbook'>
   |<title>Example para</title>
   | 
   |<formalpara><title>A Test</title>
 5 |<para>This is a test.  This is only a test.  Had this been a real
   |example, it would have made more sense.
   |</para>
   |</formalpara>
   | 
10 |</article>

A TestThis is a test. This is only a test. Had this been a real example, it would have made more sense.

A simple paragraph.

1 |<article xmlns='http://docbook.org/ns/docbook'>
  |<title>Example para</title>
  | 
  |<simpara>
5 |Just the text, ma'am.
  |</simpara>
  | 
  |</article>

Just the text, ma'am.