side.region.precedence.xml 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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="side.region.precedence">
  7. <refmeta>
  8. <refentrytitle>side.region.precedence</refentrytitle>
  9. <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
  10. </refmeta>
  11. <refnamediv>
  12. <refname>side.region.precedence</refname>
  13. <refpurpose>Determines side region page layout precedence</refpurpose>
  14. </refnamediv>
  15. <refsynopsisdiv> <src:fragment xml:id="side.region.precedence.frag">
  16. <xsl:param name="side.region.precedence">false</xsl:param>
  17. </src:fragment>
  18. </refsynopsisdiv>
  19. <refsection><info><title>Description</title></info>
  20. <para>If optional side regions on a page
  21. are established using parameters such as
  22. <parameter>body.margin.inner</parameter>,
  23. <parameter>region.inner.extent</parameter>, etc., then this
  24. parameter determines what happens at the corners where the
  25. side regions meet the header and footer regions.</para>
  26. <para>If the value of this parameter is <literal>true</literal>,
  27. then the side regions have precedence and extend higher
  28. and lower, while the header and footer regions are narrower
  29. and fit inside the side regions.</para>
  30. <para>If the value of this parameter is <literal>false</literal>
  31. (the default value), then the header and footer regions
  32. have precedence and extend over and below the side regions.
  33. Any value other than <literal>true</literal> or
  34. <literal>false</literal> is taken to be <literal>false</literal>.</para>
  35. <para>If you need to set precedence separately for
  36. individual regions, then you can set four
  37. parameters that are normally internal to the stylesheet.
  38. These four parameters are normally set based
  39. on the value from <parameter>side.region.precedence</parameter>:</para>
  40. <programlisting>region.before.precedence
  41. region.after.precedence
  42. region.start.precedence
  43. region.end.precedence</programlisting>
  44. <para>See also
  45. <parameter>region.inner.extent</parameter>,
  46. <parameter>region.outer.extent</parameter>,
  47. <parameter>body.margin.inner</parameter>,
  48. <parameter>body.margin.outer</parameter>.
  49. </para>
  50. </refsection> </refentry>