[52d29f7] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[52d29f7] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[60867ce] | 7 | <!ENTITY aspell-download-http "http://ftp.gnu.org/gnu/aspell/aspell-&aspell-version;.tar.gz">
|
---|
[b280fcc] | 8 | <!ENTITY aspell-download-ftp "ftp://ftp.gnu.org/gnu/aspell/aspell-&aspell-version;.tar.gz">
|
---|
[cbc7ebe3] | 9 | <!ENTITY aspell-md5sum "bc80f0198773d5c05086522be67334eb">
|
---|
[615db3f] | 10 | <!ENTITY aspell-size "1.7 MB">
|
---|
[cbc7ebe3] | 11 | <!ENTITY aspell-buildsize "34 MB (Additional 8 MB for EN dictionary)">
|
---|
| 12 | <!ENTITY aspell-time "0.6 SBU">
|
---|
[52d29f7] | 13 | ]>
|
---|
| 14 |
|
---|
[7b6e8a6] | 15 | <sect1 id="aspell" xreflabel="Aspell-&aspell-version;">
|
---|
[b280fcc] | 16 | <?dbhtml filename="aspell.html"?>
|
---|
[4e82a189] | 17 |
|
---|
[b280fcc] | 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
[4e82a189] | 22 |
|
---|
[b280fcc] | 23 | <title>Aspell-&aspell-version;</title>
|
---|
[4e82a189] | 24 |
|
---|
[b280fcc] | 25 | <indexterm zone="aspell">
|
---|
| 26 | <primary sortas="a-Aspell">Aspell</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
[4e82a189] | 29 | <sect2 role="package">
|
---|
[b280fcc] | 30 | <title>Introduction to Aspell</title>
|
---|
[4e82a189] | 31 |
|
---|
| 32 | <para>The <application>Aspell</application> package contains an interactive
|
---|
[b280fcc] | 33 | spell checking program and the <application>Aspell</application> libraries.
|
---|
| 34 | <application>Aspell</application> can either be used as a library or as an
|
---|
| 35 | independent spell checker.</para>
|
---|
[4e82a189] | 36 |
|
---|
[fd91fea] | 37 | &lfs65_checked;
|
---|
| 38 |
|
---|
[b280fcc] | 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>Download (HTTP): <ulink url="&aspell-download-http;"/></para>
|
---|
| 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>Download (FTP): <ulink url="&aspell-download-ftp;"/></para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>Download MD5 sum: &aspell-md5sum;</para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>Download size: &aspell-size;</para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Estimated disk space required: &aspell-buildsize;</para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>Estimated build time: &aspell-time;</para>
|
---|
| 58 | </listitem>
|
---|
| 59 | </itemizedlist>
|
---|
[4e82a189] | 60 |
|
---|
[b280fcc] | 61 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
[4e82a189] | 62 | <para>You'll need to download at least one dictionary. The link below will take
|
---|
[b280fcc] | 63 | you to a page containing links to dictionaries in many languages.</para>
|
---|
[4e82a189] | 64 |
|
---|
[b280fcc] | 65 | <itemizedlist spacing='compact'>
|
---|
| 66 | <listitem>
|
---|
[4e82a189] | 67 | <para>Aspell dictionaries: <ulink
|
---|
[b280fcc] | 68 | url="ftp://ftp.gnu.org/gnu/aspell/dict"/></para>
|
---|
| 69 | </listitem>
|
---|
| 70 | </itemizedlist>
|
---|
[4e82a189] | 71 |
|
---|
[4484a54] | 72 | <bridgehead renderas="sect3">Aspell Dependencies</bridgehead>
|
---|
[4e82a189] | 73 |
|
---|
[b280fcc] | 74 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[4484a54] | 75 | <para role="required"><xref linkend="which"/> (for the dictionaries)</para>
|
---|
[4e82a189] | 76 |
|
---|
[1039de3] | 77 | <para condition="html" role="usernotes">User Notes:
|
---|
| 78 | <ulink url="&blfs-wiki;/aspell"/></para>
|
---|
| 79 |
|
---|
[b280fcc] | 80 | </sect2>
|
---|
[4e82a189] | 81 |
|
---|
[b280fcc] | 82 | <sect2 role="installation">
|
---|
| 83 | <title>Installation of Aspell</title>
|
---|
| 84 |
|
---|
[4e82a189] | 85 | <para>Install <application>Aspell</application> by running the following
|
---|
[b280fcc] | 86 | commands:</para>
|
---|
| 87 |
|
---|
| 88 | <screen><userinput>./configure --prefix=/usr &&
|
---|
| 89 | make</userinput></screen>
|
---|
[4e82a189] | 90 |
|
---|
[615db3f] | 91 | <!-- <para>Pre-built HTML documentation is included in the package. If you have
|
---|
[520f6b4f] | 92 | <application>teTeX</application> installed and you wish to build additional
|
---|
[28bfba0] | 93 | formats of the documentation, issue any or all of the following
|
---|
| 94 | commands:</para>
|
---|
| 95 |
|
---|
| 96 | <screen><userinput>make -C manual pdf &&
|
---|
| 97 | make -C manual pdf &&
|
---|
| 98 | make -C manual ps &&
|
---|
| 99 | cd manual &&
|
---|
[615db3f] | 100 | makeinfo -plaintext -o aspell.txt aspell.texi &&
|
---|
| 101 | makeinfo -plaintext -o aspell-dev.txt aspell-dev.texi &&
|
---|
| 102 | cd ..</userinput></screen> -->
|
---|
[28bfba0] | 103 |
|
---|
| 104 | <para>This package does not come with a test suite.</para>
|
---|
| 105 |
|
---|
[b280fcc] | 106 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[4e82a189] | 107 |
|
---|
[28bfba0] | 108 | <screen role="root"><userinput>make install &&
|
---|
| 109 | install -v -m755 -d /usr/share/doc/aspell-&aspell-version;/aspell{,-dev}.html &&
|
---|
| 110 | install -v -m644 manual/aspell.html/* \
|
---|
| 111 | /usr/share/doc/aspell-&aspell-version;/aspell.html &&
|
---|
| 112 | install -v -m644 manual/aspell-dev.html/* \
|
---|
| 113 | /usr/share/doc/aspell-&aspell-version;/aspell-dev.html</userinput></screen>
|
---|
| 114 |
|
---|
[615db3f] | 115 | <!-- <para>If you built additional formats of the documentation, install them
|
---|
[28bfba0] | 116 | by issuing the following command as the
|
---|
| 117 | <systemitem class="username">root</systemitem> user:</para>
|
---|
| 118 |
|
---|
| 119 | <screen role="root"><userinput>install -v -m644 manual/aspell{,-dev}.{ps,pdf,dvi,txt} \
|
---|
[615db3f] | 120 | /usr/share/doc/aspell-&aspell-version;</userinput></screen> -->
|
---|
[4e82a189] | 121 |
|
---|
[4f26c54] | 122 | <para>If you do not plan to install <application>Ispell</application>,
|
---|
| 123 | then copy the wrapper script <command>ispell</command>:</para>
|
---|
[f14dde87] | 124 |
|
---|
[60b430f] | 125 | <screen role="root"><userinput>install -v -m 755 scripts/ispell /usr/bin/</userinput></screen>
|
---|
[f14dde87] | 126 |
|
---|
[4f26c54] | 127 | <para>If you do not plan to install <application>Spell</application>,
|
---|
| 128 | then copy the wrapper script <command>spell</command>:</para>
|
---|
[f14dde87] | 129 |
|
---|
[60b430f] | 130 | <screen role="root"><userinput>install -v -m 755 scripts/spell /usr/bin/</userinput></screen>
|
---|
[f14dde87] | 131 |
|
---|
[28bfba0] | 132 | </sect2>
|
---|
| 133 |
|
---|
[615db3f] | 134 | <!-- <sect2 role="commands">
|
---|
[28bfba0] | 135 | <title>Command Explanations</title>
|
---|
[6473e74] | 136 |
|
---|
[28bfba0] | 137 | <para><command>make -C manual pdf</command>: This command is listed twice
|
---|
| 138 | as the first time it runs it will display an error and abort, although it
|
---|
| 139 | creates the requested file. Running the command again ensures the other
|
---|
| 140 | file is also created.</para>
|
---|
| 141 |
|
---|
[615db3f] | 142 | </sect2> -->
|
---|
[b280fcc] | 143 |
|
---|
| 144 | <sect2 role="configuration">
|
---|
| 145 | <title>Configuring Aspell</title>
|
---|
[4e82a189] | 146 |
|
---|
[b280fcc] | 147 | <sect3>
|
---|
| 148 | <title>Configuration Information</title>
|
---|
[4e82a189] | 149 |
|
---|
[28bfba0] | 150 | <para>After <application>Aspell</application> is installed, you must set
|
---|
| 151 | up at least one dictionary. Install one or more dictionaries by running
|
---|
| 152 | the following commands:</para>
|
---|
[4e82a189] | 153 |
|
---|
[b280fcc] | 154 | <screen><userinput>./configure &&
|
---|
| 155 | make</userinput></screen>
|
---|
[4e82a189] | 156 |
|
---|
[b280fcc] | 157 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[4e82a189] | 158 |
|
---|
[b280fcc] | 159 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[4e82a189] | 160 |
|
---|
[b280fcc] | 161 | </sect3>
|
---|
[4e82a189] | 162 |
|
---|
[b280fcc] | 163 | </sect2>
|
---|
[4e82a189] | 164 |
|
---|
[b280fcc] | 165 | <sect2 role="content">
|
---|
| 166 | <title>Contents</title>
|
---|
| 167 |
|
---|
| 168 | <segmentedlist>
|
---|
| 169 | <segtitle>Installed Programs</segtitle>
|
---|
| 170 | <segtitle>Installed Libraries</segtitle>
|
---|
| 171 | <segtitle>Installed Directories</segtitle>
|
---|
[4e82a189] | 172 |
|
---|
[b280fcc] | 173 | <seglistitem>
|
---|
[60b430f] | 174 | <seg>aspell, aspell-import, precat, preunzip, prezip, prezip-bin,
|
---|
| 175 | pspell-config, run-with-aspell, word-list-compress and optionally,
|
---|
| 176 | ispell and spell</seg>
|
---|
[b280fcc] | 177 | <seg>libaspell.so and libpspell.so</seg>
|
---|
| 178 | <seg>/usr/include/pspell and /usr/lib/aspell-0.60</seg>
|
---|
| 179 | </seglistitem>
|
---|
| 180 | </segmentedlist>
|
---|
[4e82a189] | 181 |
|
---|
[b280fcc] | 182 | <variablelist>
|
---|
| 183 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 184 | <?dbfo list-presentation="list"?>
|
---|
| 185 | <?dbhtml list-presentation="table"?>
|
---|
[4e82a189] | 186 |
|
---|
[b280fcc] | 187 | <varlistentry id="aspell-prog">
|
---|
| 188 | <term><command>aspell</command></term>
|
---|
| 189 | <listitem>
|
---|
[4e82a189] | 190 | <para>is a utility that can function as an
|
---|
[28bfba0] | 191 | <command>ispell -a</command> replacement, as an independent spell
|
---|
| 192 | checker, as a test utility to test out
|
---|
| 193 | <application>Aspell</application> features, and as
|
---|
[b280fcc] | 194 | a utility for managing dictionaries.</para>
|
---|
| 195 | <indexterm zone="aspell aspell-prog">
|
---|
| 196 | <primary sortas="b-aspell">aspell</primary>
|
---|
| 197 | </indexterm>
|
---|
| 198 | </listitem>
|
---|
| 199 | </varlistentry>
|
---|
[4e82a189] | 200 |
|
---|
[0e726f8] | 201 | <varlistentry id="aspell-ispell">
|
---|
| 202 | <term><command>ispell</command></term>
|
---|
| 203 | <listitem>
|
---|
| 204 | <para>is a wrapper around <command>aspell</command> to invoke it in
|
---|
| 205 | <command>ispell</command> compatible mode.</para>
|
---|
| 206 | <indexterm zone="aspell aspell-ispell">
|
---|
| 207 | <primary sortas="b-ispell">ispell</primary>
|
---|
| 208 | </indexterm>
|
---|
| 209 | </listitem>
|
---|
| 210 | </varlistentry>
|
---|
| 211 |
|
---|
| 212 | <varlistentry id="aspell-spell">
|
---|
| 213 | <term><command>spell</command></term>
|
---|
| 214 | <listitem>
|
---|
| 215 | <para>is a wrapper around <command>aspell</command> to invoke it in
|
---|
| 216 | <command>spell</command> compatible mode.</para>
|
---|
| 217 | <indexterm zone="aspell aspell-spell">
|
---|
| 218 | <primary sortas="b-spell">spell</primary>
|
---|
| 219 | </indexterm>
|
---|
| 220 | </listitem>
|
---|
| 221 | </varlistentry>
|
---|
| 222 |
|
---|
[b280fcc] | 223 | <varlistentry id="aspell-import">
|
---|
| 224 | <term><command>aspell-import</command></term>
|
---|
| 225 | <listitem>
|
---|
| 226 | <para>imports old personal dictionaries into
|
---|
| 227 | <application>Aspell</application>.</para>
|
---|
| 228 | <indexterm zone="aspell aspell-import">
|
---|
| 229 | <primary sortas="b-aspell-import">aspell-import</primary>
|
---|
| 230 | </indexterm>
|
---|
| 231 | </listitem>
|
---|
| 232 | </varlistentry>
|
---|
[4e82a189] | 233 |
|
---|
[b280fcc] | 234 | <varlistentry id="precat">
|
---|
| 235 | <term><command>precat</command></term>
|
---|
| 236 | <listitem>
|
---|
[4e82a189] | 237 | <para>decompresses a <command>prezip</command>ped file to
|
---|
[b280fcc] | 238 | stdout.</para>
|
---|
| 239 | <indexterm zone="aspell precat">
|
---|
| 240 | <primary sortas="b-precat">precat</primary>
|
---|
| 241 | </indexterm>
|
---|
| 242 | </listitem>
|
---|
| 243 | </varlistentry>
|
---|
[4e82a189] | 244 |
|
---|
[b280fcc] | 245 | <varlistentry id="preunzip">
|
---|
| 246 | <term><command>preunzip</command></term>
|
---|
| 247 | <listitem>
|
---|
| 248 | <para>decompresses a <command>prezip</command>ped file.</para>
|
---|
| 249 | <indexterm zone="aspell preunzip">
|
---|
| 250 | <primary sortas="b-preunzip">preunzip</primary>
|
---|
| 251 | </indexterm>
|
---|
| 252 | </listitem>
|
---|
| 253 | </varlistentry>
|
---|
[4e82a189] | 254 |
|
---|
[b280fcc] | 255 | <varlistentry id="prezip">
|
---|
| 256 | <term><command>prezip</command></term>
|
---|
| 257 | <listitem>
|
---|
[4e82a189] | 258 | <para>is a prefix delta compressor, used to compress sorted word
|
---|
[b280fcc] | 259 | lists or other similar text files.</para>
|
---|
| 260 | <indexterm zone="aspell prezip">
|
---|
| 261 | <primary sortas="b-prezip">prezip</primary>
|
---|
| 262 | </indexterm>
|
---|
| 263 | </listitem>
|
---|
| 264 | </varlistentry>
|
---|
[4e82a189] | 265 |
|
---|
[b280fcc] | 266 | <varlistentry id="prezip-bin">
|
---|
| 267 | <term><command>prezip-bin</command></term>
|
---|
| 268 | <listitem>
|
---|
[4e82a189] | 269 | <para>is called by the various wrapper scripts to perform the
|
---|
[b280fcc] | 270 | actual compressing and decompressing.</para>
|
---|
| 271 | <indexterm zone="aspell prezip-bin">
|
---|
| 272 | <primary sortas="b-prezip-bin">prezip-bin</primary>
|
---|
| 273 | </indexterm>
|
---|
| 274 | </listitem>
|
---|
| 275 | </varlistentry>
|
---|
[4e82a189] | 276 |
|
---|
[b280fcc] | 277 | <varlistentry id="pspell-config">
|
---|
| 278 | <term><command>pspell-config</command></term>
|
---|
| 279 | <listitem>
|
---|
[4e82a189] | 280 | <para>displays information about the
|
---|
[28bfba0] | 281 | <filename class='libraryfile'>libpspell</filename> installation,
|
---|
| 282 | mostly for use in build scripts.</para>
|
---|
[b280fcc] | 283 | <indexterm zone="aspell pspell-config">
|
---|
| 284 | <primary sortas="b-pspell-config">pspell-config</primary>
|
---|
| 285 | </indexterm>
|
---|
| 286 | </listitem>
|
---|
| 287 | </varlistentry>
|
---|
[4e82a189] | 288 |
|
---|
[b280fcc] | 289 | <varlistentry id="run-with-aspell">
|
---|
| 290 | <term><command>run-with-aspell</command></term>
|
---|
| 291 | <listitem>
|
---|
[4e82a189] | 292 | <para>is a script to help use <application>Aspell</application>
|
---|
[b280fcc] | 293 | as an <command>ispell</command> replacement.</para>
|
---|
| 294 | <indexterm zone="aspell run-with-aspell">
|
---|
| 295 | <primary sortas="b-run-with-aspell">run-with-aspell</primary>
|
---|
| 296 | </indexterm>
|
---|
| 297 | </listitem>
|
---|
| 298 | </varlistentry>
|
---|
[4e82a189] | 299 |
|
---|
[b280fcc] | 300 | <varlistentry id="word-list-compress">
|
---|
| 301 | <term><command>word-list-compress</command></term>
|
---|
| 302 | <listitem>
|
---|
[4e82a189] | 303 | <para>compresses or decompresses sorted word lists for use with the
|
---|
[b280fcc] | 304 | <application>Aspell</application> spell checker.</para>
|
---|
| 305 | <indexterm zone="aspell word-list-compress">
|
---|
| 306 | <primary sortas="b-word-list-compress">word-list-compress</primary>
|
---|
| 307 | </indexterm>
|
---|
| 308 | </listitem>
|
---|
| 309 | </varlistentry>
|
---|
[4e82a189] | 310 |
|
---|
[b280fcc] | 311 | <varlistentry id="libaspell">
|
---|
| 312 | <term><filename class='libraryfile'>libaspell.so</filename></term>
|
---|
| 313 | <listitem>
|
---|
| 314 | <para>contains spell checking API functions.</para>
|
---|
| 315 | <indexterm zone="aspell libaspell">
|
---|
| 316 | <primary sortas="c-lib">libaspell.so</primary>
|
---|
| 317 | </indexterm>
|
---|
| 318 | </listitem>
|
---|
| 319 | </varlistentry>
|
---|
[4e82a189] | 320 |
|
---|
[b280fcc] | 321 | <varlistentry id="libpspell">
|
---|
| 322 | <term><filename class='libraryfile'>libpspell.so</filename></term>
|
---|
| 323 | <listitem>
|
---|
[4e82a189] | 324 | <para>is an interface to the
|
---|
[28bfba0] | 325 | <filename class='libraryfile'>libaspell</filename> library. All the
|
---|
| 326 | spell checking functionality is now in
|
---|
| 327 | <filename class='libraryfile'>libaspell</filename> but this library
|
---|
| 328 | is included for backward compatibility.</para>
|
---|
[b280fcc] | 329 | <indexterm zone="aspell libpspell">
|
---|
| 330 | <primary sortas="c-libpspell">libpspell.so</primary>
|
---|
| 331 | </indexterm>
|
---|
| 332 | </listitem>
|
---|
| 333 | </varlistentry>
|
---|
[4e82a189] | 334 |
|
---|
[b280fcc] | 335 | </variablelist>
|
---|
| 336 |
|
---|
| 337 | </sect2>
|
---|
[368512b3] | 338 |
|
---|
| 339 | </sect1>
|
---|