summaryrefslogtreecommitdiff
path: root/params/refentry.source.name.suppress.xml
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-11-08 13:38:28 -0800
committerAnas Nashif <anas.nashif@intel.com>2012-11-08 13:38:28 -0800
commit0cafa2afa8b68e48cbaac4a67c6d5929ed385574 (patch)
treee8815e7ef185ccaba26bcd616eace378572b922e /params/refentry.source.name.suppress.xml
downloaddocbook-xsl-0cafa2afa8b68e48cbaac4a67c6d5929ed385574.tar.gz
docbook-xsl-0cafa2afa8b68e48cbaac4a67c6d5929ed385574.tar.bz2
docbook-xsl-0cafa2afa8b68e48cbaac4a67c6d5929ed385574.zip
Diffstat (limited to 'params/refentry.source.name.suppress.xml')
-rw-r--r--params/refentry.source.name.suppress.xml42
1 files changed, 42 insertions, 0 deletions
diff --git a/params/refentry.source.name.suppress.xml b/params/refentry.source.name.suppress.xml
new file mode 100644
index 0000000..b29127e
--- /dev/null
+++ b/params/refentry.source.name.suppress.xml
@@ -0,0 +1,42 @@
+<refentry xmlns="http://docbook.org/ns/docbook"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:xi="http://www.w3.org/2001/XInclude"
+ xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ version="5.0" xml:id="refentry.source.name.suppress">
+<refmeta>
+<refentrytitle>refentry.source.name.suppress</refentrytitle>
+<refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>refentry.source.name.suppress</refname>
+<refpurpose>Suppress "name" part of refentry "source" contents?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment xml:id="refentry.source.name.suppress.frag">
+<xsl:param name="refentry.source.name.suppress">0</xsl:param></src:fragment>
+</refsynopsisdiv>
+
+<refsection><info><title>Description</title></info>
+
+<para>If the value of
+<parameter>refentry.source.name.suppress</parameter> is non-zero, then
+during <tag>refentry</tag> metadata gathering, no "source name" data
+is added to the <tag>refentry</tag> "source" contents. Instead (unless
+<parameter>refentry.version.suppress</parameter> is also non-zero),
+only "version" data is added to the "source" contents.</para>
+
+<para>If you find that the <tag>refentry</tag> metadata gathering
+mechanism is causing unwanted "source name" data to show up in your
+output -- for example, in the footer (or possibly header) of a man
+page -- then you might consider setting a non-zero value for
+<parameter>refentry.source.name.suppress</parameter>.</para>
+
+<para>Note that the terms "source", "source name", and "version" have
+special meanings in this context. For details, see the documentation
+for the <parameter>refentry.source.name.profile</parameter>
+parameter.</para>
+
+</refsection>
+</refentry>