lineannotation — A comment on a line in a verbatim listing
lineannotation ::=
alt
anchor
annotation
biblioref
indexterm
(db.indexterm.endofrange)indexterm
(db.indexterm.singular)indexterm
(db.indexterm.startofrange)inlinemediaobject
link
olink
phrase
(db._phrase)remark
replaceable
subscript
superscript
xref
A LineAnnotation
is an author or editor's comment on a line
in one of the verbatim environments. These are annotations added by
the documentor, not part of the original listing.
Formatted inline.
In verbatim environments like ProgramListing
,
which are often presented in a fixed width font, they may get special
typographic treatment, such as italics.
If several lineannotation
s occur in the same listing, they
may be aligned horizontally.
These elements contain lineannotation
: classsynopsisinfo
, funcsynopsisinfo
, literallayout
, programlisting
, rhs
, screen
, synopsis
.
The following elements occur in lineannotation: text, alt
, anchor
, annotation
, biblioref
, indexterm
(db.indexterm.endofrange), indexterm
(db.indexterm.singular), indexterm
(db.indexterm.startofrange), inlinemediaobject
, link
, olink
, phrase
(db._phrase), remark
, replaceable
, subscript
, superscript
, xref
.
<article xmlns='http://docbook.org/ns/docbook'> <title>Example lineannotation</title> <screen> <entry> <lineannotation>Error, cannot have a line break before a block element</lineannotation> <para> A paragraph of text. </para></entry> </screen> </article>
<entry> Error, cannot have a line break before a block element
<para>
A paragraph of text.
</para></entry>