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