source: stylesheets/lfs-xsl/docbook-xsl-1.78.1/params/variablelist.as.blocks.xml@ 67f507c

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 67f507c was 15c7d39, checked in by Matthew Burgess <matthew@…>, 11 years ago

Update stylesheets to docbook-xsl-1.78.1.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10355 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 2.3 KB
Line 
1<refentry xmlns="http://docbook.org/ns/docbook"
2 xmlns:xlink="http://www.w3.org/1999/xlink"
3 xmlns:xi="http://www.w3.org/2001/XInclude"
4 xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
5 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
6 version="5.0" xml:id="variablelist.as.blocks">
7<refmeta>
8<refentrytitle>variablelist.as.blocks</refentrytitle>
9<refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
10</refmeta>
11<refnamediv>
12<refname>variablelist.as.blocks</refname>
13<refpurpose>Format <tag>variablelist</tag>s lists as blocks?</refpurpose>
14</refnamediv>
15
16<refsynopsisdiv>
17<src:fragment xml:id="variablelist.as.blocks.frag">
18<xsl:param name="variablelist.as.blocks" select="0"/>
19</src:fragment>
20</refsynopsisdiv>
21
22<refsection><info><title>Description</title></info>
23
24<para>If non-zero, <tag>variablelist</tag>s will be formatted as
25blocks.</para>
26
27<para>If you have long terms, proper list markup in the FO case may produce
28unattractive lists. By setting this parameter, you can force the stylesheets
29to produce block markup instead of proper lists.</para>
30
31<para>You can override this setting with a processing instruction as the
32child of <tag>variablelist</tag>: <tag class="xmlpi">dbfo
33list-presentation="blocks"</tag> or <tag class="xmlpi">dbfo
34list-presentation="list"</tag>.</para>
35
36<para>When using <literal>list-presentation="list"</literal>,
37you can also control the amount of space used for the <tag>term</tag>s with
38the <tag class="xmlpi">dbfo term-width=".25in"</tag> processing instruction,
39the <tag class="attribute">termlength</tag> attribute on <tag>variablelist</tag>,
40or allow the stylesheets to attempt to calculate the amount of space to leave based on the
41number of letters in the longest term.
42</para>
43
44<programlisting> &lt;variablelist&gt;
45 &lt;?dbfo list-presentation="list"?&gt;
46 &lt;?dbfo term-width="1.5in"?&gt;
47 &lt;?dbhtml list-presentation="table"?&gt;
48 &lt;?dbhtml term-width="1.5in"?&gt;
49 &lt;varlistentry&gt;
50 &lt;term&gt;list&lt;/term&gt;
51 &lt;listitem&gt;
52 &lt;para&gt;
53 Formatted as a list even if variablelist.as.blocks is set to 1.
54 &lt;/para&gt;
55 &lt;/listitem&gt;
56 &lt;/varlistentry&gt;
57 &lt;/variablelist&gt;</programlisting>
58
59
60</refsection>
61
62</refentry>
Note: See TracBrowser for help on using the repository browser.