File: page.width.xml

package info (click to toggle)
docbook-xsl 1.50.0-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 8,244 kB
  • ctags: 1,420
  • sloc: xml: 27,494; java: 4,340; lisp: 618; makefile: 127
file content (31 lines) | stat: -rw-r--r-- 776 bytes parent folder | download | duplicates (17)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<refentry id="page.width">
<refmeta>
<refentrytitle>page.width</refentrytitle>

</refmeta>
<refnamediv>
<refname>page.width</refname>
<refpurpose>The width of the physical page</refpurpose>
</refnamediv>

<refsynopsisdiv>
<src:fragment id='page.width.frag'><xsl:param name="page.width">
  <xsl:choose>
    <xsl:when test="$page.orientation = 'portrait'">
      <xsl:value-of select="$page.width.portrait"/>
    </xsl:when>
    <xsl:otherwise>
      <xsl:value-of select="$page.height.portrait"/>
    </xsl:otherwise>
  </xsl:choose>
</xsl:param></src:fragment>
</refsynopsisdiv>

<refsect1><title>Description</title>

<para>The page width is generally calculated from the
<literal>paper.type</literal> and <literal>page.orientation</literal>.
</para>

</refsect1>
</refentry>