Name

computeroutput — Data, generally text, displayed or presented by a computer

Synopsis

computeroutput ::= (text | Computer-output inlines | Graphic inlines | Indexing inlines | Linking inlines | Markup inlines | Operating system inlines | Technical inlines | Ubiquitous inlines)*

Description

A computeroutput identifies lines of text generated by a computer program (messages, results, or other output).

Note that computeroutput is not a verbatim environment, but an inline.

Processing expectations

Formatted inline. It’s often presented in a fixed-width font.

See Also

constant, envar, filename, lineannotation, literal, literallayout, markup, option, optional, parameter, programlisting, prompt, replaceable, screen, screenshot, synopsis, systemitem, tag, userinput, varname

Examples

<article xmlns='http://docbook.org/ns/docbook'>
<title>Example computeroutput</title>

<para>The output from the date command,
<computeroutput>Sun  Nov 16, 1997  21:03:29</computeroutput>,
uses fixed-width fields so that it can easily be parsed.
</para>

</article>

Get DocBook 5: The Definitive Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.