source: stylesheets/lfs-xsl/docbook-xsl-1.78.1/params/index.links.to.section.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.7 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="index.links.to.section">
7<refmeta>
8<refentrytitle>index.links.to.section</refentrytitle>
9<refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
10</refmeta>
11<refnamediv>
12<refname>index.links.to.section</refname>
13<refpurpose>HTML index entries link to container section title</refpurpose>
14</refnamediv>
15
16<refsynopsisdiv>
17<src:fragment xml:id="index.links.to.section.frag">
18<xsl:param name="index.links.to.section" select="1"/>
19</src:fragment>
20</refsynopsisdiv>
21
22<refsection><info><title>Description</title></info>
23
24<para>If zero, then an index entry in an index links
25directly to the location of the
26generated <tag>anchor</tag> that is output
27for the indexterm. If two identical indexterm elements
28exist in the same section, then both entries appear
29in the index with the same title but link to different
30locations.</para>
31
32<para>If non-zero, then an index entry in an index links to the
33section title containing the <tag>indexterm</tag>, rather than
34directly to the <tag>anchor</tag> output for the indexterm.
35Duplicate indexterm entries in the same section are dropped.
36</para>
37
38<para>The default value is 1, so index entries link to
39section titles by default.</para>
40
41<para>In both cases, the link text in an index entry is the
42title of the section containing the indexterm.
43That is because HTML does not have numbered pages.
44It also provides the reader with context information
45for each link.</para>
46
47<para>This parameter lets you choose which style of
48index linking you want. </para>
49
50<itemizedlist>
51<listitem>
52<para>When set to 0, an index entry takes you
53to the precise location of its corresponding indexterm.
54However, if you have a lot of duplicate
55entries in sections, then you have a lot of duplicate
56titles in the index, which makes it more cluttered.
57The reader may not recognize why duplicate titles
58appear until they follow the links. Also, the links
59may land the reader in the middle of a section where the
60section title is not visible, which may also be
61confusing to the reader.</para>
62</listitem>
63<listitem>
64<para>When set to 1, an index entry link is
65less precise, but duplicate titles in the
66index entries are eliminated.
67Landing on the section title location may confirm the reader's
68expectation that a link that
69shows a section title will take them to that section title,
70not a location within the section.
71</para>
72</listitem>
73</itemizedlist>
74
75</refsection>
76</refentry>
Note: See TracBrowser for help on using the repository browser.