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.margin.outer">
8 <refentrytitle>page.margin.outer</refentrytitle>
9 <refmiscinfo class="other" otherclass="datatype">length</refmiscinfo>
12 <refname>page.margin.outer</refname>
13 <refpurpose>The outer page margin</refpurpose>
17 <src:fragment xml:id="page.margin.outer.frag"><xsl:param name="page.margin.outer">
19 <xsl:when test="$double.sided != 0">0.75in</xsl:when>
20 <xsl:otherwise>1in</xsl:otherwise>
22 </xsl:param></src:fragment>
25 <refsection><info><title>Description</title></info>
27 <para>The outer page margin is the distance from non-bound edge of the
28 page to the outer edge of the last column of text.</para>
30 <para>In left-to-right text direction,
31 this is the right margin of recto (front side) pages.
32 For single-sided output, it is the right margin
35 <para>In right-to-left text direction,
36 this is the left margin of recto pages.
37 For single-sided output, this is the
38 left margin of all pages.</para>
41 <para>Current versions (at least as of version 4.13)
42 of the XEP XSL-FO processor do not
43 correctly handle these margin settings for documents
44 with right-to-left text direction.
45 The workaround in that situation is to reverse
46 the values for <parameter>page.margin.inner</parameter>
47 and <parameter>page.margin.outer</parameter>, until
48 this bug is fixed by RenderX. It does not affect documents
49 with left-to-right text direction.</para>