page.margin.inner.xml 1.9 KB

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