source: stylesheets/lfs-xsl/docbook-xsl-1.78.1/params/variablelist.as.table.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.0 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.table">
7<refmeta>
8<refentrytitle>variablelist.as.table</refentrytitle>
9<refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
10</refmeta>
11<refnamediv>
12<refname>variablelist.as.table</refname>
13<refpurpose>Format <tag>variablelist</tag>s as tables?</refpurpose>
14</refnamediv>
15
16<refsynopsisdiv>
17<src:fragment xml:id="variablelist.as.table.frag">
18<xsl:param name="variablelist.as.table" 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
25tables. A processing instruction exists to specify a particular width for the
26column containing the <tag>term</tag>s:
27<tag class="xmlpi">dbhtml term-width=".25in"</tag></para>
28
29<para>You can override this setting with a processing instruction as the
30child of <tag>variablelist</tag>: <tag class="xmlpi">dbhtml
31list-presentation="table"</tag> or <tag class="xmlpi">dbhtml
32list-presentation="list"</tag>.</para>
33
34<para>This parameter only applies to the HTML transformations. In the
35FO case, proper list markup is robust enough to handle the formatting.
36But see also <parameter>variablelist.as.blocks</parameter>.</para>
37
38<programlisting> &lt;variablelist&gt;
39 &lt;?dbhtml list-presentation="table"?&gt;
40 &lt;?dbhtml term-width="1.5in"?&gt;
41 &lt;?dbfo list-presentation="list"?&gt;
42 &lt;?dbfo term-width="1in"?&gt;
43 &lt;varlistentry&gt;
44 &lt;term&gt;list&lt;/term&gt;
45 &lt;listitem&gt;
46 &lt;para&gt;
47 Formatted as a table even if variablelist.as.table is set to 0.
48 &lt;/para&gt;
49 &lt;/listitem&gt;
50 &lt;/varlistentry&gt;
51 &lt;/variablelist&gt;</programlisting>
52
53</refsection>
54</refentry>
Note: See TracBrowser for help on using the repository browser.