| 1 |
<?xml version="1.0" encoding="UTF-8" standalone="no"?> |
| 2 |
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"> |
| 3 |
<refentry id="literal.environment"> |
| 4 |
<refmeta> |
| 5 |
<refentrytitle>literal.environment</refentrytitle> |
| 6 |
</refmeta> |
| 7 |
<refnamediv> |
| 8 |
<refname><parameter>literal.environment</parameter></refname> |
| 9 |
<refpurpose>Latex environment used to format verbatim blocks</refpurpose> |
| 10 |
</refnamediv> |
| 11 |
<refsynopsisdiv> |
| 12 |
<programlisting> |
| 13 |
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" parse="text" href="syn/literal.environment.xml"/></programlisting> |
| 14 |
</refsynopsisdiv> |
| 15 |
<refsection> |
| 16 |
<title>Description</title> |
| 17 |
<para>It specifies the Latex environment to use to render a verbatim |
| 18 |
block.</para> |
| 19 |
<para>Since <command>dblatex</command> uses the listings package |
| 20 |
capabilities to |
| 21 |
handle the DocBook attributes, the specified environment must have the same |
| 22 |
capabilities if written from scratch, but it is recommended to just extend |
| 23 |
the listings environment with you own listings extension. See <xref |
| 24 |
linkend="sec-literal-env"/> for more details.</para> |
| 25 |
<para>The specified environment name must starts with |
| 26 |
<literal>"lst"</literal>. Otherwise <command>dblatex</command> raises an |
| 27 |
error and exits.</para> |
| 28 |
</refsection> |
| 29 |
<refsection> |
| 30 |
<title>See Also</title> |
| 31 |
<para><parameter>literal.extensions</parameter>.</para> |
| 32 |
</refsection> |
| 33 |
</refentry> |