]> git.stg.codes - stg.git/blob - doc/xslt/params/toc.indent.width.xml
Help book chapter 2 complete
[stg.git] / doc / xslt / params / toc.indent.width.xml
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="toc.indent.width">
7 <refmeta>
8 <refentrytitle>toc.indent.width</refentrytitle>
9 <refmiscinfo class="other" otherclass="datatype">float</refmiscinfo>
10 </refmeta>
11 <refnamediv>
12 <refname>toc.indent.width</refname>
13 <refpurpose>Amount of indentation for TOC entries</refpurpose>
14 </refnamediv>
15
16 <refsynopsisdiv>
17 <src:fragment xml:id="toc.indent.width.frag">
18 <xsl:param name="toc.indent.width">24</xsl:param>
19 <!-- inconsistant point specification? -->
20 </src:fragment>
21 </refsynopsisdiv>
22
23 <refsection><info><title>Description</title></info>
24
25 <para>Specifies, in points, the distance by which each level of the
26 TOC is indented from its parent.</para>
27
28 <para>This value is expressed in points, without
29 a unit (in other words, it is a bare number). Using a bare number allows the stylesheet
30 to perform calculations that would otherwise have to be performed by the FO processor
31 because not all processors support expressions.</para>
32
33 </refsection>
34 </refentry>