para
para — A paragraph.
Synopsis
- Sequence of:
info
? (db.titleforbidden.info)- Zero or more of:
- text
bridgehead
revhistory
- Bibliography inlines
- Error inlines
- Graphic inlines
- GUI inlines
- Indexing inlines
- Keyboard inlines
- Linking inlines
- Markup inlines
- Math inlines
- Object-oriented programming inlines
- Operating system inlines
- Product inlines
- Programming inlines
- Publishing inlines
abbrev
acronym
coref
date
emphasis
(db.emphasis)firstterm
(db._firstterm)firstterm
(db.firstterm)footnote
footnoteref
foreignphrase
(db.foreignphrase)glossterm
(db._glossterm)glossterm
(db.glossterm)phrase
(db.phrase)quote
(db.quote)subscript
superscript
wordasword
- Technical inlines
- Ubiquitous inlines
abbrev
acronym
alt
anchor
annotation
biblioref
coref
date
emphasis
(db._emphasis)firstterm
(db._firstterm)footnote
footnoteref
foreignphrase
(db._foreignphrase)glossterm
(db._glossterm)indexterm
(db.indexterm.endofrange)indexterm
(db.indexterm.singular)indexterm
(db.indexterm.startofrange)inlinemediaobject
link
olink
phrase
(db._phrase)quote
(db._quote)remark
subscript
superscript
trademark
wordasword
xref
- Admonition elements
- Formal elements
- Graphic elements
- Informal elements
informalequation
informalexample
informalfigure
informaltable
(db.cals.informaltable)informaltable
(db.html.informaltable)
- List elements
- Publishing elements
- Synopsis elements
- Technical elements
- Verbatim elements
Attributes
Additional Constraints
- If this element is the root element, it must have a version attribute.
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. DocBook offers two
variants of paragraph: simpara
, which cannot contain
block elements, and formalpara
, which has a
title.
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
, acknowledgements
, annotation
, answer
, appendix
, article
, bibliodiv
, bibliography
, bibliolist
, blockquote
, callout
, calloutlist
, caption
(db.caption), caution
, chapter
, colophon
, constraintdef
, cover
, dedication
, entry
, epigraph
, example
, figure
, footnote
, formalpara
, glossary
, glossdef
, glossdiv
, glosslist
, important
, index
, indexdiv
, informalexample
, informalfigure
, itemizedlist
, legalnotice
, listitem
, msgexplan
, msgtext
, note
, orderedlist
, partintro
, personblurb
, preface
, printhistory
, procedure
, qandadiv
, qandaset
, question
, refsect1
, refsect2
, refsect3
, refsection
, refsynopsisdiv
, result
, revdescription
, sect1
, sect2
, sect3
, sect4
, sect5
, section
, setindex
, sidebar
, simplesect
, step
, taskprerequisites
, taskrelated
, tasksummary
, td
, textobject
, th
, tip
, toc
, tocdiv
, topic
, variablelist
, warning
.
Children
The following elements occur in para: text, abbrev
, accel
, acronym
, address
, alt
, anchor
, annotation
, application
, author
, bibliolist
, biblioref
, blockquote
, bridgehead
, calloutlist
, caution
, citation
, citebiblioid
, citerefentry
, citetitle
, classname
, classsynopsis
, cmdsynopsis
, code
, command
, computeroutput
, constant
, constraintdef
, constructorsynopsis
, coref
, database
, date
, destructorsynopsis
, editor
, email
, emphasis
(db._emphasis), emphasis
(db.emphasis), envar
, epigraph
, equation
, errorcode
, errorname
, errortext
, errortype
, example
, exceptionname
, fieldsynopsis
, figure
, filename
, firstterm
(db._firstterm), firstterm
(db.firstterm), footnote
, footnoteref
, foreignphrase
(db._foreignphrase), foreignphrase
(db.foreignphrase), funcsynopsis
, function
, glosslist
, glossterm
(db._glossterm), glossterm
(db.glossterm), guibutton
, guiicon
, guilabel
, guimenu
, guimenuitem
, guisubmenu
, hardware
, important
, indexterm
(db.indexterm.endofrange), indexterm
(db.indexterm.singular), indexterm
(db.indexterm.startofrange), info
(db.titleforbidden.info), informalequation
, informalexample
, informalfigure
, informaltable
(db.cals.informaltable), informaltable
(db.html.informaltable), initializer
, inlineequation
, inlinemediaobject
, interfacename
, itemizedlist
, jobtitle
, keycap
, keycode
, keycombo
, keysym
, link
, literal
, literallayout
, markup
, mediaobject
, menuchoice
, methodname
, methodsynopsis
, modifier
, mousebutton
, msgset
, nonterminal
, note
, olink
, ooclass
, ooexception
, oointerface
, option
, optional
, orderedlist
, org
, orgname
, package
, parameter
, person
, personname
, phrase
(db._phrase), phrase
(db.phrase), procedure
, productionset
, productname
, productnumber
, programlisting
, programlistingco
, prompt
, property
, qandaset
, quote
(db._quote), quote
(db.quote), remark
, replaceable
, returnvalue
, revhistory
, screen
, screenco
, screenshot
, segmentedlist
, shortcut
, sidebar
, simplelist
, subscript
, superscript
, symbol
, synopsis
, systemitem
, table
(db.cals.table), table
(db.html.table), tag
, task
, termdef
, tip
, token
, trademark
, type
, uri
, userinput
, variablelist
, varname
, warning
, wordasword
, xref
.
See Also
Examples
An ordinary paragraph.
<article xmlns='http://docbook.org/ns/docbook'>
<title>Example para</title>
<para>The component suffered from three failings:
<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>
Of these three, the last was probably the most important.
</para>
</article>
A formal paragraph.
<article xmlns='http://docbook.org/ns/docbook'>
<title>Example para</title>
<formalpara><title>A Test</title>
<para>This is a test. This is only a test. Had this been a real
example, it would have made more sense.
</para>
</formalpara>
</article>
A simple paragraph.
<article xmlns='http://docbook.org/ns/docbook'>
<title>Example para</title>
<simpara>
Just the text, ma'am.
</simpara>
</article>