~todd-deshane/openstack-manuals/working

« back to all changes in this revision

Viewing changes to doc/build/docbook-xsl-1.76.1/params/page.width.portrait.xml

  • Committer: Anne Gentle
  • Date: 2011-04-04 17:54:52 UTC
  • Revision ID: anne@openstack.org-20110404175452-gtth3hfrniqhpp5o
Switching from Ant builds to Maven, still working out kinks but should be functional

Show diffs side-by-side

added added

removed removed

Lines of Context:
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">
7
 
<refmeta>
8
 
<refentrytitle>page.width.portrait</refentrytitle>
9
 
<refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
10
 
</refmeta>
11
 
<refnamediv>
12
 
<refname>page.width.portrait</refname>
13
 
<refpurpose>Specify the physical size of the short edge of the page</refpurpose>
14
 
</refnamediv>
15
 
 
16
 
<refsynopsisdiv>
17
 
<src:fragment xml:id="page.width.portrait.frag"><xsl:param name="page.width.portrait">
18
 
  <xsl:choose>
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>
56
 
  </xsl:choose>
57
 
</xsl:param></src:fragment>
58
 
</refsynopsisdiv>
59
 
 
60
 
<refsection><info><title>Description</title></info>
61
 
 
62
 
<para>The portrait page width is the length of the short
63
 
edge of the physical page.
64
 
</para>
65
 
 
66
 
</refsection>
67
 
</refentry>