From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Otared Kavian <otared@gmail.com>
Subject: Re: Word count
Date: Thu, 21 Oct 2010 19:50:34 +0200 [thread overview]
Message-ID: <4CC07D6A.6000202@wxs.nl> (raw)
In-Reply-To: <A1FF51BC-FAD0-43B0-AAED-64346D79E24C@gmail.com>
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 : ntg-context@ntg.nl / 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
___________________________________________________________________________________
next prev parent reply other threads:[~2010-10-21 17:50 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-20 13:26 Matija Šuklje
2010-10-20 15:54 ` Wolfgang Schuster
2010-10-20 17:08 ` Matija Šuklje
2010-10-20 19:43 ` Hans Hagen
2010-10-20 20:14 ` Matija Šuklje
2010-10-21 4:31 ` Wolfgang Schuster
2010-10-21 17:39 ` Otared Kavian
2010-10-21 17:50 ` Hans Hagen [this message]
2010-10-25 7:21 ` Florian Wobbe
2010-10-25 8:45 ` Hans Hagen
2010-10-25 9:01 ` Matija Šuklje
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4CC07D6A.6000202@wxs.nl \
--to=pragma@wxs.nl \
--cc=ntg-context@ntg.nl \
--cc=otared@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).