diff options
author | Reuben Thomas <rrt@sc3d.org> | 2022-09-25 10:08:21 +0100 |
---|---|---|
committer | Reuben Thomas <rrt@sc3d.org> | 2022-09-25 17:59:00 +0100 |
commit | 39fb94352453ef097a489dc95eb3cb2b209d179c (patch) | |
tree | c2cbe0484936205731f785fadfc02df75e4f8b87 /src/enchant.5.in | |
parent | 9a179cc049f4acfae5de8f7bf6170819f56878f8 (diff) | |
download | enchant-39fb94352453ef097a489dc95eb3cb2b209d179c.tar.gz |
Improve man page markup
Use curly quotes, and indent code examples.
Diffstat (limited to 'src/enchant.5.in')
-rw-r--r-- | src/enchant.5.in | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/enchant.5.in b/src/enchant.5.in index b82f866..8f218c7 100644 --- a/src/enchant.5.in +++ b/src/enchant.5.in @@ -8,9 +8,9 @@ The per-user file takes precedence. .PP The ordering file takes the form \fIlanguage_tag:<comma-separated list of spelling providers>\fR. The language tag is an IETF BCP 47 language tag, typically of the form \fICOUNTRY_LANGUAGE\fR. -To see what dictionaries are available, run \fIenchant-lsmod-@ENCHANT_MAJOR_VERSION@\fR. '*' is -used to mean "use this ordering for all languages, unless instructed otherwise." For example: -.PP +To see what dictionaries are available, run \fIenchant-lsmod-@ENCHANT_MAJOR_VERSION@\fR. \(oq*\(cq is +used to mean \(lquse this ordering for all languages, unless instructed otherwise.\(rq For example: +.IP *:aspell,hunspell,nuspell .br en:aspell,hunspell,nuspell @@ -20,13 +20,13 @@ en_GB:hunspell,nuspell,aspell fr:hunspell,nuspell,aspell .SH PERSONAL WORD LISTS Personal word lists are simple plain text files with one word per line. -Lines starting with a hash sign '#' are ignored. +Lines starting with a hash sign \(oq#\(cq are ignored. .SS SHARING PERSONAL WORD LISTS BETWEEN SPELL-CHECKERS -It is possible, and usually safe, to share Enchant's personal word lists +It is possible, and usually safe, to share Enchant\(cqs personal word lists with other spelling checkers that use the same format (note that other spell-checkers may not support comments!). The spell-checkers known to be compatible are Hunspell, Nuspell and Ispell. (Although Enchant does not -support Ispell as a back-end, it's still fine to share word lists with it.) +support Ispell as a back-end, it\(cqs still fine to share word lists with it.) Other spell-checkers supported by Enchant are either incompatible, or have no personal word list mechanism. There may well be yet other spell-checkers, unknown to Enchant, that use the same format. @@ -36,17 +36,17 @@ under another name or in another location. Firefox is one example. Firefox also seems to reorder its word list when updating it; again, this is OK, as the result is still in the same format. Anonther example is Thunderbird. .PP -To share word lists with Enchant, find the other spelling checker's word +To share word lists with Enchant, find the other spelling checker\(cqs word list file, e.g. \fI~/.hunspell_fr_FR\fR or \fI~/.config/nuspell/fr_FR\fR, and merge it with the corresponding Enchant file, in this case \fI~/.config/enchant/fr_FR.dic\fR. Use the following command, replacing \fIENCHANT-DICT\fR and \fIOTHER-DICT\fR with the corresponding dictionary file names: -.PP +.IP cat ENCHANT-DICT OTHER-DICT | sort -u > merged.txt .PP Take a look at merged.txt to check the merge has worked, then -.PP +.IP mv merged.txt ENCHANT-DICT .br rm OTHER-DICT |