source: stylesheets/lfs-xsl/docbook-xsl-1.78.1/params/man.th.title.max.length.xml@ 1fa2099

multilib-10.1
Last change on this file since 1fa2099 was 1fa2099, checked in by Thomas Trepl <thomas@…>, 5 years ago

Initial creation of multilib branch

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11565 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 2.6 KB
Line 
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="man.th.title.max.length">
7<refmeta>
8<refentrytitle>man.th.title.max.length</refentrytitle>
9<refmiscinfo class="other" otherclass="datatype">integer</refmiscinfo>
10</refmeta>
11<refnamediv>
12<refname>man.th.title.max.length</refname>
13<refpurpose>Maximum length of title in header/footer</refpurpose>
14</refnamediv>
15
16<refsynopsisdiv>
17<src:fragment xml:id="man.th.title.max.length.frag">
18<xsl:param name="man.th.title.max.length">20</xsl:param>
19</src:fragment>
20</refsynopsisdiv>
21
22<refsection><info><title>Description</title></info>
23
24<para>Specifies the maximum permitted length of the title part of the
25man-page <literal>.TH</literal> title line header/footer. If the title
26exceeds the maxiumum specified, it is truncated down to the maximum
27permitted length.</para>
28
29<refsection><info><title>Details</title></info>
30
31
32<para>Every man page generated using the DocBook stylesheets has a
33title line, specified using the <literal>TH</literal> roff
34macro. Within that title line, there is always, at a minimum, a title,
35followed by a section value (representing a man "section" -- usually
36just a number).</para>
37
38<para>The title and section are displayed, together, in the visible
39header of each page. Where in the header they are displayed depends on
40OS the man page is viewed on, and on what version of nroff/groff/man
41is used for viewing the page. But, at a minimum and across all
42systems, the title and section are displayed on the right-hand column
43of the header. On many systems -- those with a modern groff, including
44Linux systems -- they are displayed twice: both in the left and right
45columns of the header.</para>
46
47<para>So if the length of the title exceeds a certain percentage of
48the column width in which the page is viewed, the left and right
49titles can end up overlapping, making them unreadable, or breaking to
50another line, which doesn't look particularly good.</para>
51
52<para>So the stylesheets provide the
53<parameter>man.th.title.max.length</parameter> parameter as a means
54for truncating titles that exceed the maximum length that can be
55viewing properly in a page header.</para>
56
57<para>The default value is reasonable but somewhat arbitrary. If you
58have pages with long titles, you may want to experiment with changing
59the value in order to achieve the correct aesthetic results.</para>
60</refsection>
61
62</refsection>
63</refentry>
Note: See TracBrowser for help on using the repository browser.