On 21-10-2010 7:39, Otared Kavian wrote:

On 20 oct. 2010, at 21:43, Hans Hagen wrote:

On 20-10-2010 7:08, Matija Šuklje wrote:
[…]

I did implement it for Mojca indeed. A made it a bit more clever so that you 
can play with it.


Thanks a lot Hans!
That's fantastic…
However the file created by ConTeXt is \jobname.words: so
\typefile{words-003.words}

should be
\typefile{\jobname.words}
as indicated in lang-wrd.mkiv.

sure, although it can be another name as well .. btw, I added a shower as well

\usemodule[s-lan-03]

\starttext

\setupspellchecking[state=start,method=2]

\setupspellchecking[list=tufte] \bold{tufte:} \input tufte \blank
\setupspellchecking[list=knuth] \bold{knuth:} \input knuth \blank
\setupspellchecking[list=ward]  \bold{ward:}  \input ward  \blank

\setupspellchecking[state=stop]

\ctxlua{languages.words.tracers.showwords()} % no run check yet

\stoptext

and method=3 will color languages

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
    tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to