process.source.toc.xml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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="process.source.toc">
  7. <refmeta>
  8. <refentrytitle>process.source.toc</refentrytitle>
  9. <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
  10. </refmeta>
  11. <refnamediv>
  12. <refname>process.source.toc</refname>
  13. <refpurpose>Process a non-empty <tag>toc</tag> element if it occurs in a source document?</refpurpose>
  14. </refnamediv>
  15. <refsynopsisdiv>
  16. <src:fragment xml:id="process.source.toc.frag"><xsl:param name="process.source.toc" select="0"/></src:fragment>
  17. </refsynopsisdiv>
  18. <refsection><info><title>Description</title></info>
  19. <para>Specifies that the contents of a non-empty "hard-coded"
  20. <tag>toc</tag> element in a source document are processed to
  21. generate a TOC in output.
  22. <note>
  23. <para>This parameter has no effect on automated generation of
  24. TOCs. An automated TOC may still be generated along with the
  25. "hard-coded" TOC. To suppress automated TOC generation, adjust the
  26. value of the <parameter>generate.toc</parameter> paramameter.</para>
  27. <para>The <tag>process.source.toc</tag> parameter also has
  28. no effect if the <tag>toc</tag> element is empty; handling
  29. for empty <tag>toc</tag> is controlled by the
  30. <parameter>process.empty.source.toc</parameter> parameter.</para>
  31. </note>
  32. </para>
  33. </refsection>
  34. </refentry>