page.margin.outer.xml 1.8 KB

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