1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16\writestatus{loading}{ConTeXt Language Macros Checking}
17
18\registerctxluafile{langwrd}{}
19
20\unprotect
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37\installcorenamespace{spell}
38
39\installdirectcommandhandler \??spell {spellchecking}
40
41\appendtoks
42 \ifcstok{\directspellcheckingparameter\c!state}\v!start
43 \clf_enablespellchecking
44 method {\directspellcheckingparameter\c!method}
45 list {\directspellcheckingparameter\c!list}
46 \relax
47 \else
48 \clf_disablespellchecking
49 \fi
50\to \everysetupspellchecking
51
52\permanent\tolerant\protected\def\loadspellchecklist[#1]#*[#S#2]
53 {\clf_loadspellchecklist{#1}{#2}}
54
55\setupspellchecking
56 [\c!state=\v!stop,
57 \c!method=1,
58 \c!list=]
59
60\definecolor[word:yes] [g=.75]
61\definecolor[word:no] [r=.75]
62
63
64\definecolor[word:en] [b=.75]
65\definecolor[word:de] [r=.75]
66\definecolor[word:nl] [g=.75]
67\definecolor[word:unknown][r=.75,g=.75]
68
69\protect \endinput
70 |