1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
|
<?xml version="1.0" ?>
<!DOCTYPE article PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN"
"dtd/kdex.dtd" [
<!ENTITY % addindex "IGNORE">
<!ENTITY % English "INCLUDE" > <!-- change language only here -->
]>
<article lang="&language;">
<articleinfo>
<authorgroup>
<author>&Mike.McBride; &Mike.McBride.mail;</author>
<author>&Jost.Schenck; &Jost.Schenck.mail;</author>
<!-- TRANS:ROLES_OF_TRANSLATORS -->
</authorgroup>
<date>2002-10-17</date>
<releaseinfo>3.1</releaseinfo>
<keywordset>
<keyword>KDE</keyword>
<keyword>KControl</keyword>
<keyword>Help Index</keyword>
<keyword>Index</keyword>
</keywordset>
</articleinfo>
<sect1 id="help-index">
<title>Help Index</title>
<note><para>At the time of writing, for most installations of &kde; the entire search engine function in &khelpcenter; is disabled, and settings made in this &kcontrol; module will have no effect. We hope to have it back in a future release.</para></note>
<para>&kde; comes with a lot of documentation for applications and
components. While it is possible to just browse the manuals until you
find that piece of information you're looking for, this may be a very
time-consuming task. To make this easier for you, &kde; offers
fulltext search using a program called
<application>ht://dig</application>. It works quite similar to search
engines on the web, in fact some search engines you know might even use
it. Just click on the <guilabel>Search</guilabel> tab in the
&khelpcenter;, enter the word you are looking for, click
<guibutton>Search</guibutton> and enjoy!</para>
<para>However, to make use of this feature,
<application>ht://dig</application> has to be installed on your system
and &kde; has to be configured to make use of it. This control module
tries to help you doing the latter. If you haven't installed
<application>ht://dig</application> and it wasn't shipped with your
operating system you have to get ht://dig yourself. Have a look at
<ulink url="http://www.htdig.org">the ht://dig homepage</ulink> on how
to download and install it.</para>
<para>When you first start, you are in display mode only. To modify
your settings, click on <guibutton>Administrator Mode</guibutton>. If
you are logged in as <systemitem class="username">root</systemitem>,
you will go straight to the change dialog. If not, &kde; will ask for
a superuser password.</para>
<sect2 id="help-index-use">
<title>Use</title>
<para>There are two important things to tell &kde; so it can make use of the
fulltext search engine:</para>
<itemizedlist>
<listitem><para>where to find the <application>ht://dig</application> programs
KDE uses for fulltext search</para></listitem>
<listitem><para>where to search</para></listitem>
</itemizedlist>
<sect3 id="help-index-use-progs">
<title>The <application>ht://dig</application> Programs</title>
<para> There are three programs &kde; needs that come with
<application>ht://dig</application>: <command>htdig</command>,
<command>htsearch</command> and <command>htmerge</command>. For each program you
have to provide the full path including the program name, for example: <filename
class="directory">/usr/bin/htdig</filename>.</para>
<para>Where exactly these programs are installed depends on your operating
system or your distribution. However, there are some good guesses you might want
to try:</para>
<itemizedlist>
<listitem><para><command>htdig</command> and <command>htmerge</command> are
often found in <filename class="directory">/usr/bin/</filename> or in something
like <filename
class="directory">/usr/local/www/htdig/bin/</filename>.</para></listitem>
<listitem><para>the <command>htsearch</command> command is often found in a sub
folder called <filename class="directory">cgi-bin</filename>, for example
<filename class="directory">/usr/local/httpd/cgi-bin/</filename>.</para>
</listitem>
</itemizedlist>
<tip><para>To find out where for example <command>htdig</command> is installed
you can always type <command>whereis htdig</command> on the
console. <command>whereis</command> will look for the specified command in the
standard execution path folders. However, folders like <filename
class="directory">cgi-bin</filename> are often not in the standard execution
path.</para></tip>
</sect3>
<sect3 id="help-index-use-scope">
<title>Scope and Search Paths</title>
<para>In this section you can choose which help resources should be indexed,
&ie; made available to the search engine.</para>
<para>In the <guilabel>Scope</guilabel> frame you can select some
typical resources you want to be indexed, &ie; the &kde; help files,
and the information offered by the <command>man</command> and
<command>info</command> commands. Note that some of those may still be
disabled, which means that support for them has not been added
yet.</para>
<para>Maybe you have additional files you want to access using the
&khelpcenter; fulltext search feature. For example, you might have an
<acronym>HTML</acronym> reference installed in
<filename>/home/jdoe/docs/selfhtml</filename>. By adding this path to
the list of additional search paths you make this documentation
available to &khelpcenter;'s fulltext search, too. Just click on the
<guibutton>Add</guibutton> button and a file dialog will ask you for
an additional search folder. Select
<filename class="directory">/home/jdoe/docs/selfhtml</filename> and click
<guibutton>OK</guibutton>. To remove an additional search path, just
select it and click <guibutton>Delete</guibutton>.</para>
<important><para>Your changes to the scope and additional search paths
will not take effect if you don't click on the <guibutton>Generate
index</guibutton> button.</para></important>
</sect3>
</sect2>
</sect1>
</article>
|