]> git.stg.codes - stg.git/blob - doc/xslt/params/refentry.source.name.profile.enabled.xml
Some minor improvements on ticket26.
[stg.git] / doc / xslt / params / refentry.source.name.profile.enabled.xml
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.profile.enabled">
7 <refmeta>
8 <refentrytitle>refentry.source.name.profile.enabled</refentrytitle>
9 <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
10 </refmeta>
11 <refnamediv>
12 <refname>refentry.source.name.profile.enabled</refname>
13 <refpurpose>Enable refentry "source name" profiling?</refpurpose>
14 </refnamediv>
15
16 <refsynopsisdiv>
17 <src:fragment xml:id="refentry.source.name.profile.enabled.frag">
18 <xsl:param name="refentry.source.name.profile.enabled">0</xsl:param></src:fragment>
19 </refsynopsisdiv>
20
21 <refsection><info><title>Description</title></info>
22
23 <para>If the value of
24 <parameter>refentry.source.name.profile.enabled</parameter> is
25 non-zero, then during <tag>refentry</tag> metadata gathering, the info
26 profile specified by the customizable
27 <parameter>refentry.source.name.profile</parameter> parameter is
28 used.</para>
29
30 <para>If instead the value of
31 <parameter>refentry.source.name.profile.enabled</parameter> is zero (the
32 default), then "hard coded" logic within the DocBook XSL stylesheets
33 is used for gathering <tag>refentry</tag> "source name" data.</para>
34
35 <para>If you find that the default <tag>refentry</tag>
36 metadata-gathering behavior is causing incorrect "source name" data to
37 show up in your output, then consider setting a non-zero value for
38 <parameter>refentry.source.name.profile.enabled</parameter> and
39 adjusting the value of
40 <parameter>refentry.source.name.profile</parameter> to cause correct
41 data to be gathered. </para>
42
43 <para>Note that the terms "source" and "source name" have special
44 meanings in this context. For details, see the documentation for the
45 <parameter>refentry.source.name.profile</parameter> parameter.</para>
46
47 </refsection>
48 </refentry>