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.manual.profile">
8 <refentrytitle>refentry.manual.profile</refentrytitle>
9 <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>
12 <refname>refentry.manual.profile</refname>
13 <refpurpose>Specifies profile for refentry "manual" data</refpurpose>
17 <src:fragment xml:id="refentry.manual.profile.frag">
18 <xsl:param name="refentry.manual.profile">
19 (($info[//title])[last()]/title)[1]|
25 <refsection><info><title>Description</title></info>
27 <para>The value of <parameter>refentry.manual.profile</parameter> is
28 a string representing an XPath expression. It is evaluated at
29 run-time and used only if
30 <parameter>refentry.manual.profile.enabled</parameter> is
31 non-zero. Otherwise, the <tag>refentry</tag> metadata-gathering logic
32 "hard coded" into the stylesheets is used.</para>
34 <para>In man pages, this content is usually displayed in the middle of
35 the header of the page. The <literal>man(7)</literal> man page
36 describes this as "the title of the manual (e.g., <citetitle>Linux
37 Programmer's Manual</citetitle>)". Here are some examples from
41 <para><citetitle>dpkg utilities</citetitle>
42 (<command>dpkg-name</command>)</para>
45 <para><citetitle>User Contributed Perl Documentation</citetitle>
46 (<command>GET</command>)</para>
49 <para><citetitle>GNU Development Tools</citetitle>
50 (<command>ld</command>)</para>
53 <para><citetitle>Emperor Norton Utilities</citetitle>
54 (<command>ddate</command>)</para>
57 <para><citetitle>Debian GNU/Linux manual</citetitle>
58 (<command>faked</command>)</para>
61 <para><citetitle>GIMP Manual Pages</citetitle>
62 (<command>gimp</command>)</para>
65 <para><citetitle>KDOC Documentation System</citetitle>
66 (<command>qt2kdoc</command>)</para>