source: stylesheets/lfs-xsl/docbook-xsl-1.78.1/params/index.links.to.section.xml@ 67f507c

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 67f507c was 15c7d39, checked in by Matthew Burgess <matthew@…>, 11 years ago

Update stylesheets to docbook-xsl-1.78.1.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10355 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.