]> git.stg.codes - stg.git/blob - doc/xslt/params/page.height.xml
Add notifications in test tariffs class
[stg.git] / doc / xslt / params / page.height.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="page.height">
7 <refmeta>
8 <refentrytitle>page.height</refentrytitle>
9 <refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
10 </refmeta>
11 <refnamediv>
12 <refname>page.height</refname>
13 <refpurpose>The height of the physical page</refpurpose>
14 </refnamediv>
15
16 <refsynopsisdiv>
17 <src:fragment xml:id="page.height.frag"><xsl:param name="page.height">
18   <xsl:choose>
19     <xsl:when test="$page.orientation = 'portrait'">
20       <xsl:value-of select="$page.height.portrait"/>
21     </xsl:when>
22     <xsl:otherwise>
23       <xsl:value-of select="$page.width.portrait"/>
24     </xsl:otherwise>
25   </xsl:choose>
26 </xsl:param></src:fragment>
27 </refsynopsisdiv>
28
29 <refsection><info><title>Description</title></info>
30
31 <para>The page height is generally calculated from the
32 <parameter>paper.type</parameter> and
33 <parameter>page.orientation</parameter> parameters.
34 </para>
35
36 </refsection>
37 </refentry>