source: stylesheets/lfs-xsl/docbook-xsl-1.78.1/params/variablelist.max.termlength.xml@ f6e9c180

7.6-systemd 7.7-systemd 7.8-systemd 7.9-systemd
Last change on this file since f6e9c180 was b1a51ac1, checked in by Krejzi <krejzi@…>, 11 years ago

Import new branch

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

  • Property mode set to 100644
File size: 1.6 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.max.termlength">
7<refmeta>
8<refentrytitle>variablelist.max.termlength</refentrytitle>
9<refmiscinfo class="other" otherclass="datatype">number</refmiscinfo>
10</refmeta>
11<refnamediv>
12<refname>variablelist.max.termlength</refname>
13<refpurpose>Specifies the longest term in variablelists</refpurpose>
14</refnamediv>
15
16<refsynopsisdiv>
17<src:fragment xml:id="variablelist.max.termlength.frag">
18<xsl:param name="variablelist.max.termlength">24</xsl:param>
19</src:fragment>
20</refsynopsisdiv>
21
22<refsection><info><title>Description</title></info>
23
24<para>In variablelists, the <tag>listitem</tag>
25is indented to leave room for the
26<tag>term</tag> elements. That indent may be computed
27if it is not specified with a <tag class="attribute">termlength</tag>
28attribute on the <tag>variablelist</tag> element.
29</para>
30<para>
31The computation counts characters in the
32<tag>term</tag> elements in the list
33to find the longest term. However, some terms are very long
34and would produce extreme indents. This parameter lets you
35set a maximum character count. Any terms longer than the maximum
36would line wrap. The default value is 24.
37</para>
38<para>
39The character counts are converted to physical widths
40by multiplying by 0.50em. There will be some variability
41in how many actual characters fit in the space
42since some characters are wider than others.
43</para>
44
45</refsection>
46</refentry>
Note: See TracBrowser for help on using the repository browser.