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