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.portrait">
8 <refentrytitle>page.width.portrait</refentrytitle>
9 <refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
12 <refname>page.width.portrait</refname>
13 <refpurpose>Specify the physical size of the short edge of the page</refpurpose>
17 <src:fragment xml:id="page.width.portrait.frag"><xsl:param name="page.width.portrait">
19 <xsl:when test="$paper.type = 'USletter'">8.5in</xsl:when>
20 <xsl:when test="$paper.type = '4A0'">1682mm</xsl:when>
21 <xsl:when test="$paper.type = '2A0'">1189mm</xsl:when>
22 <xsl:when test="$paper.type = 'A0'">841mm</xsl:when>
23 <xsl:when test="$paper.type = 'A1'">594mm</xsl:when>
24 <xsl:when test="$paper.type = 'A2'">420mm</xsl:when>
25 <xsl:when test="$paper.type = 'A3'">297mm</xsl:when>
26 <xsl:when test="$paper.type = 'A4'">210mm</xsl:when>
27 <xsl:when test="$paper.type = 'A5'">148mm</xsl:when>
28 <xsl:when test="$paper.type = 'A6'">105mm</xsl:when>
29 <xsl:when test="$paper.type = 'A7'">74mm</xsl:when>
30 <xsl:when test="$paper.type = 'A8'">52mm</xsl:when>
31 <xsl:when test="$paper.type = 'A9'">37mm</xsl:when>
32 <xsl:when test="$paper.type = 'A10'">26mm</xsl:when>
33 <xsl:when test="$paper.type = 'B0'">1000mm</xsl:when>
34 <xsl:when test="$paper.type = 'B1'">707mm</xsl:when>
35 <xsl:when test="$paper.type = 'B2'">500mm</xsl:when>
36 <xsl:when test="$paper.type = 'B3'">353mm</xsl:when>
37 <xsl:when test="$paper.type = 'B4'">250mm</xsl:when>
38 <xsl:when test="$paper.type = 'B5'">176mm</xsl:when>
39 <xsl:when test="$paper.type = 'B6'">125mm</xsl:when>
40 <xsl:when test="$paper.type = 'B7'">88mm</xsl:when>
41 <xsl:when test="$paper.type = 'B8'">62mm</xsl:when>
42 <xsl:when test="$paper.type = 'B9'">44mm</xsl:when>
43 <xsl:when test="$paper.type = 'B10'">31mm</xsl:when>
44 <xsl:when test="$paper.type = 'C0'">917mm</xsl:when>
45 <xsl:when test="$paper.type = 'C1'">648mm</xsl:when>
46 <xsl:when test="$paper.type = 'C2'">458mm</xsl:when>
47 <xsl:when test="$paper.type = 'C3'">324mm</xsl:when>
48 <xsl:when test="$paper.type = 'C4'">229mm</xsl:when>
49 <xsl:when test="$paper.type = 'C5'">162mm</xsl:when>
50 <xsl:when test="$paper.type = 'C6'">114mm</xsl:when>
51 <xsl:when test="$paper.type = 'C7'">81mm</xsl:when>
52 <xsl:when test="$paper.type = 'C8'">57mm</xsl:when>
53 <xsl:when test="$paper.type = 'C9'">40mm</xsl:when>
54 <xsl:when test="$paper.type = 'C10'">28mm</xsl:when>
55 <xsl:otherwise>8.5in</xsl:otherwise>
57 </xsl:param></src:fragment>
60 <refsection><info><title>Description</title></info>
62 <para>The portrait page width is the length of the short
63 edge of the physical page.