refentry.source.name.suppress.xml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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="refentry.source.name.suppress">
  7. <refmeta>
  8. <refentrytitle>refentry.source.name.suppress</refentrytitle>
  9. <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
  10. </refmeta>
  11. <refnamediv>
  12. <refname>refentry.source.name.suppress</refname>
  13. <refpurpose>Suppress "name" part of refentry "source" contents?</refpurpose>
  14. </refnamediv>
  15. <refsynopsisdiv>
  16. <src:fragment xml:id="refentry.source.name.suppress.frag">
  17. <xsl:param name="refentry.source.name.suppress">0</xsl:param></src:fragment>
  18. </refsynopsisdiv>
  19. <refsection><info><title>Description</title></info>
  20. <para>If the value of
  21. <parameter>refentry.source.name.suppress</parameter> is non-zero, then
  22. during <tag>refentry</tag> metadata gathering, no "source name" data
  23. is added to the <tag>refentry</tag> "source" contents. Instead (unless
  24. <parameter>refentry.version.suppress</parameter> is also non-zero),
  25. only "version" data is added to the "source" contents.</para>
  26. <para>If you find that the <tag>refentry</tag> metadata gathering
  27. mechanism is causing unwanted "source name" data to show up in your
  28. output -- for example, in the footer (or possibly header) of a man
  29. page -- then you might consider setting a non-zero value for
  30. <parameter>refentry.source.name.suppress</parameter>.</para>
  31. <para>Note that the terms "source", "source name", and "version" have
  32. special meanings in this context. For details, see the documentation
  33. for the <parameter>refentry.source.name.profile</parameter>
  34. parameter.</para>
  35. </refsection>
  36. </refentry>