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="page.width">
8 <refentrytitle>page.width</refentrytitle>
9 <refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
12 <refname>page.width</refname>
13 <refpurpose>The width of the physical page</refpurpose>
17 <src:fragment xml:id="page.width.frag"><xsl:param name="page.width">
19 <xsl:when test="$page.orientation = 'portrait'">
20 <xsl:value-of select="$page.width.portrait"/>
23 <xsl:value-of select="$page.height.portrait"/>
26 </xsl:param></src:fragment>
29 <refsection><info><title>Description</title></info>
31 <para>The page width is generally calculated from the
32 <parameter>paper.type</parameter> and
33 <parameter>page.orientation</parameter> parameters.</para>