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="default.units">
\r
8 <refentrytitle>default.units</refentrytitle>
\r
9 <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
\r
10 <refmiscinfo class="other" otherclass="value">cm</refmiscinfo>
\r
11 <refmiscinfo class="other" otherclass="value">mm</refmiscinfo>
\r
12 <refmiscinfo class="other" otherclass="value">in</refmiscinfo>
\r
13 <refmiscinfo class="other" otherclass="value">pt</refmiscinfo>
\r
14 <refmiscinfo class="other" otherclass="value">pc</refmiscinfo>
\r
15 <refmiscinfo class="other" otherclass="value">px</refmiscinfo>
\r
16 <refmiscinfo class="other" otherclass="value">em</refmiscinfo>
\r
19 <refname>default.units</refname>
\r
20 <refpurpose>Default units for an unqualified dimension</refpurpose>
\r
24 <src:fragment xml:id="default.units.frag">
\r
25 <xsl:param name="default.units">pt</xsl:param>
\r
29 <refsection><info><title>Description</title></info>
\r
31 <para>If an unqualified dimension is encountered (for example, in a
\r
32 graphic width), the <parameter>default.units</parameter> will be used for the
\r
33 units. Unqualified dimensions are not allowed in XSL Formatting Objects.
\r