Sophie

Sophie

distrib > Fedora > 17 > i386 > media > updates > by-pkgid > 9f452694b2d23dacae7f9cc757f9be50 > files > 428

docbook-style-xsl-1.78.1-1.fc17.noarch.rpm

<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>variablelist.as.blocks</title><link rel="stylesheet" type="text/css" href="../reference.css"><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="../index.html" title="DocBook XSL Stylesheets: Reference Documentation"><link rel="up" href="misc.html" title="Miscellaneous"><link rel="prev" href="segmentedlist.as.table.html" title="segmentedlist.as.table"><link rel="next" href="blockquote.properties.html" title="blockquote.properties"><link rel="copyright" href="copyright.html" title="License"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">variablelist.as.blocks</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="segmentedlist.as.table.html">Prev</a> </td><th width="60%" align="center">Miscellaneous</th><td width="20%" align="right"> <a accesskey="n" href="blockquote.properties.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="variablelist.as.blocks"></a><div class="titlepage"></div>

<div class="refnamediv"><h2><span class="refentrytitle">variablelist.as.blocks</span></h2><p>
variablelist.as.blocks
 &#8212; Format <a href="http://docbook.org/tdg5/en/html/variablelist.html"><code class="sgmltag-element">variablelist</code></a>s lists as blocks?
</p></div>

<div class="refsynopsisdiv"><h2>Synopsis</h2>
<a name="variablelist.as.blocks.frag"></a><pre class="programlisting">
&lt;xsl:param name="variablelist.as.blocks" select="0"&gt;&lt;/xsl:param&gt;
</pre>
</div>

<div class="refsection"><a name="idp5049712"></a><h2>Description</h2>

<p>If non-zero, <a href="http://docbook.org/tdg5/en/html/variablelist.html"><code class="sgmltag-element">variablelist</code></a>s will be formatted as
blocks.</p>

<p>If you have long terms, proper list markup in the FO case may produce
unattractive lists. By setting this parameter, you can force the stylesheets
to produce block markup instead of proper lists.</p>

<p>You can override this setting with a processing instruction as the
child of <a href="http://docbook.org/tdg5/en/html/variablelist.html"><code class="sgmltag-element">variablelist</code></a>: <a href="../pi/dbfo_list-presentation.html"><code class="sgmltag-xmlpi">&lt;?dbfo
list-presentation="blocks"?&gt;</code></a> or <a href="../pi/dbfo_list-presentation.html"><code class="sgmltag-xmlpi">&lt;?dbfo
list-presentation="list"?&gt;</code></a>.</p>

<p>When using <code class="literal">list-presentation="list"</code>,
you can also control the amount of space used for the <a href="http://docbook.org/tdg5/en/html/term.html"><code class="sgmltag-element">term</code></a>s with 
the <a href="../pi/dbfo_term-width.html"><code class="sgmltag-xmlpi">&lt;?dbfo term-width=".25in"?&gt;</code></a> processing instruction,
the <code class="sgmltag-attribute">termlength</code> attribute on <a href="http://docbook.org/tdg5/en/html/variablelist.html"><code class="sgmltag-element">variablelist</code></a>,
or allow the stylesheets to attempt to calculate the amount of space to leave based on the 
number of letters in the longest term.  
</p>

<pre class="programlisting">  &lt;variablelist&gt;
        &lt;?dbfo list-presentation="list"?&gt;
        &lt;?dbfo term-width="1.5in"?&gt;
        &lt;?dbhtml list-presentation="table"?&gt;
        &lt;?dbhtml term-width="1.5in"?&gt;
        &lt;varlistentry&gt;
          &lt;term&gt;list&lt;/term&gt;
          &lt;listitem&gt;
                &lt;para&gt;
                  Formatted as a list even if variablelist.as.blocks is set to 1.
                &lt;/para&gt;
          &lt;/listitem&gt;
        &lt;/varlistentry&gt;
  &lt;/variablelist&gt;</pre>


</div>

</div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="segmentedlist.as.table.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="misc.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="blockquote.properties.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">segmentedlist.as.table </td><td width="20%" align="center"><a accesskey="h" href="../index.html">Home</a></td><td width="40%" align="right" valign="top"> blockquote.properties</td></tr></table></div></body></html>