section.level4.properties.xml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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="section.level4.properties">
  7. <refmeta>
  8. <refentrytitle>section.level4.properties</refentrytitle>
  9. <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
  10. </refmeta>
  11. <refnamediv>
  12. <refname>section.level4.properties</refname>
  13. <refpurpose>Properties for level-4 sections</refpurpose>
  14. </refnamediv>
  15. <refsynopsisdiv>
  16. <src:fragment xml:id="section.level4.properties.frag">
  17. <xsl:attribute-set name="section.level4.properties" use-attribute-sets="section.properties">
  18. </xsl:attribute-set>
  19. </src:fragment>
  20. </refsynopsisdiv>
  21. <refsection><info><title>Description</title></info>
  22. <para>The properties that apply to the containing
  23. block of a level-4 section, and therefore apply to
  24. the whole section. This includes <tag>sect4</tag>
  25. elements and <tag>section</tag> elements at level 4.
  26. </para>
  27. <para>For example, you could start each level-4 section on
  28. a new page by using:</para>
  29. <programlisting>&lt;xsl:attribute-set name="section.level4.properties"&gt;
  30. &lt;xsl:attribute name="break-before"&gt;page&lt;/xsl:attribute&gt;
  31. &lt;/xsl:attribute-set&gt;
  32. </programlisting>
  33. <para>This attribute set inherits attributes from the
  34. general <tag>section.properties</tag> attribute set.
  35. </para>
  36. </refsection>
  37. </refentry>