Simplified DocBook: The Definitive Guide  (Version 0.9.1 for Simplified DocBook 5.1)

literal

literal — Inline text that is some literal value.

Synopsis

literal ::= [-]

Description

A literal is some specific piece of data, taken literally, from a computer system. It is similar in some ways to userinput and computeroutput, but is somewhat more of a general classification. The sorts of things that constitute literals vary by domain.

Processing expectations

Formatted inline. A literal is frequently distinguished typographically and literal is often used wherever that typographic presentation is desired.

Parents

Children

The following elements occur in literal: text, inlinemediaobject, phrase (db._phrase), replaceable, subscript, superscript.

Examples

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

<para>There are several undocumented settings for <varname>debug</varname>,
among them <literal>3.27</literal> to enable a complete trace and
<literal>3.8</literal> to debug the spell checker. For a complete
list of the possible settings,
see <filename class="headerfile">edit/debug.h</filename>.</para>

</article>

There are several undocumented settings for debug, among them 3.27 to enable a complete trace and 3.8 to debug the spell checker. For a complete list of the possible settings, see edit/debug.h.