]> git.evergreen-ils.org Git - working/Evergreen.git/blob - stylesheets/evergreen_docbook_files/docbook-xsl-1.75.2/params/index.method.xml
Evergreen Version Fix to reflect the new EG releases 2.0.10 and 1.6.1.9
[working/Evergreen.git] / stylesheets / evergreen_docbook_files / docbook-xsl-1.75.2 / params / index.method.xml
1 <refentry xmlns="http://docbook.org/ns/docbook"\r
2           xmlns:xlink="http://www.w3.org/1999/xlink"\r
3           xmlns:xi="http://www.w3.org/2001/XInclude"\r
4           xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"\r
5           xmlns:xsl="http://www.w3.org/1999/XSL/Transform"\r
6           version="5.0" xml:id="index.method">\r
7 <refmeta>\r
8 <refentrytitle>index.method</refentrytitle>\r
9 <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>\r
10 <refmiscinfo class="other" otherclass="value">basic</refmiscinfo>\r
11 <refmiscinfo class="other" otherclass="value">kosek</refmiscinfo>\r
12 <refmiscinfo class="other" otherclass="value">kimber</refmiscinfo>\r
13 </refmeta>\r
14 <refnamediv>\r
15 <refname>index.method</refname>\r
16 <refpurpose>Select method used to group index entries in an index</refpurpose>\r
17 </refnamediv>\r
18 \r
19 <refsynopsisdiv>\r
20 <src:fragment xml:id="index.method.frag">\r
21 <xsl:param name="index.method">basic</xsl:param>\r
22 </src:fragment>\r
23 </refsynopsisdiv>\r
24 \r
25 <refsection><info><title>Description</title></info>\r
26 \r
27 <para>This parameter lets you select which method to use for sorting and grouping\r
28  index entries in an index.\r
29 Indexes in Latin-based languages that have accented characters typically\r
30 sort together accented words and unaccented words.\r
31 Thus <quote>Á</quote> (U+00C1 LATIN CAPITAL LETTER A WITH ACUTE) would sort together\r
32 with <quote>A</quote> (U+0041 LATIN CAPITAL LETTER A), so both would appear in the <quote>A</quote>\r
33 section of the index.\r
34 Languages using other alphabets (such as Russian,  which is written in the Cyrillic alphabet)\r
35 and languages using ideographic chararacters (such as Japanese)\r
36 require grouping specific to the languages and alphabets.\r
37 </para>\r
38 \r
39 <para>The default indexing method is limited.\r
40 It can group accented characters in Latin-based languages only.\r
41 It cannot handle non-Latin alphabets or ideographic languages.\r
42 The other indexing methods require extensions of one type or\r
43 another, and do not work with\r
44 all XSLT processors, which is why they are not used by default.</para>\r
45 \r
46 <para>The three choices for indexing method are:</para>\r
47 <variablelist>\r
48 <varlistentry>\r
49 <term><literal>basic</literal></term>\r
50 <listitem>\r
51 <para>\r
52 (default)  Sort and groups words based only on the Latin alphabet.\r
53 Words with accented Latin letters will group and sort with\r
54 their respective primary letter, but\r
55 words in non-Latin alphabets will be\r
56 put in the <quote>Symbols</quote> section of the index.\r
57 </para>\r
58 </listitem>\r
59 </varlistentry>\r
60 <varlistentry>\r
61 <term><literal>kosek</literal></term>\r
62 <listitem>\r
63 <para>\r
64 This method sorts and groups words based on letter groups configured in\r
65 the DocBook locale file for the given language.\r
66 See, for example, the French locale file <filename>common/fr.xml</filename>.\r
67 This method requires that the XSLT processor\r
68 supports the EXSLT extensions (most do).\r
69 It also requires support for using \r
70 user-defined functions in xsl:key (xsltproc does not).\r
71 </para>\r
72 <para>This method is suitable for any language for which you can\r
73 list all the individual characters that should appear\r
74 in each letter group in an index.\r
75 It is probably not practical to use it for ideographic languages\r
76 such as Chinese that have hundreds or thousands of characters.\r
77 </para>\r
78 \r
79 <para>To use the kosek method, you must:</para>\r
80 \r
81 <orderedlist>\r
82 <listitem>\r
83 <para>Use a processor that supports its extensions, such as\r
84 Saxon 6 or Xalan (xsltproc and Saxon 8 do not).\r
85 </para>\r
86 </listitem>\r
87 <listitem>\r
88 <para>Set the index.method parameter's value to <quote>kosek</quote>.\r
89 </para>\r
90 </listitem>\r
91 <listitem>\r
92 <para>Import the appropriate index extensions stylesheet module\r
93 <filename>fo/autoidx-kosek.xsl</filename> or \r
94 <filename>html/autoidx-kosek.xsl</filename> into your\r
95 customization.\r
96 </para>\r
97 </listitem>\r
98 </orderedlist>\r
99 \r
100 </listitem>\r
101 </varlistentry>\r
102 <varlistentry>\r
103 <term><literal>kimber</literal></term>\r
104 <listitem>\r
105 <para>\r
106 This method uses extensions to the Saxon processor to implement\r
107 sophisticated indexing processes. It uses its own \r
108 configuration file, which can include information for any number of\r
109 languages. Each language's configuration can group\r
110 words using one of two processes. In the\r
111 enumerated process similar to that used in the kosek method,\r
112 you indicate the groupings character-by-character.\r
113 In the between-key process, you specify the\r
114 break-points in the sort order that should start a new group.\r
115 The latter configuration is useful for ideographic languages\r
116 such as Chinese, Japanese, and Korean.\r
117 You can also define your own collation algorithms and how you\r
118 want mixed Latin-alphabet words sorted.</para>\r
119 <itemizedlist>\r
120 <listitem>\r
121 <para>For a whitepaper describing the extensions, see:\r
122 <link xlink:href="http://www.innodata-isogen.com/knowledge_center/white_papers/back_of_book_for_xsl_fo.pdf">http://www.innodata-isogen.com/knowledge_center/white_papers/back_of_book_for_xsl_fo.pdf</link>.\r
123 </para>\r
124 </listitem>\r
125 <listitem>\r
126 <para>To download the extension library, see\r
127 <link xlink:href="http://www.innodata-isogen.com/knowledge_center/tools_downloads/i18nsupport">http://www.innodata-isogen.com/knowledge_center/tools_downloads/i18nsupport</link>.\r
128 </para>\r
129 </listitem>\r
130 </itemizedlist>\r
131 \r
132 <para>To use the kimber method, you must:</para>\r
133 \r
134 <orderedlist>\r
135 <listitem>\r
136 <para>Use Saxon (version 6 or 8) as your XSLT processor.\r
137 </para>\r
138 </listitem>\r
139 <listitem>\r
140 <para>Install and configure the Innodata Isogen library, using\r
141 the documentation that comes with it.\r
142 </para>\r
143 </listitem>\r
144 <listitem>\r
145 <para>Set the index.method parameter's value to <quote>kimber</quote>.\r
146 </para>\r
147 </listitem>\r
148 <listitem>\r
149 <para>Import the appropriate index extensions stylesheet module\r
150 <filename>fo/autoidx-kimber.xsl</filename> or \r
151 <filename>html/autoidx-kimber.xsl</filename> into your\r
152 customization.\r
153 </para>\r
154 </listitem>\r
155 </orderedlist>\r
156 \r
157 </listitem>\r
158 </varlistentry>\r
159 </variablelist>\r
160 \r
161 </refsection>\r
162 </refentry>\r