You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdelibs/kdoctools/docbook/xsl/params/page.width.xml

32 lines
776 B

<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>