O'Reilly logo

DocBook 5: The Definitive Guide by Richard L. Hamilton, Norman Walsh

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

literal — Inline text that is some literal value

Synopsis

literal ::= (text | phrase db._phrase | replaceable | Graphic inlines | Indexing inlines | Linking inlines | Ubiquitous inlines)*

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.

See Also

command, computeroutput, constant, markup, option, optional, parameter, prompt, replaceable, tag, userinput, varname

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 spellchecker. For a complete
list of the possible settings,
see <filename class="headerfile">edit/debug.h</filename>.</para>

</article>

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required