From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/62817 Path: news.gmane.org!not-for-mail From: Otared Kavian Newsgroups: gmane.comp.tex.context Subject: Re: Word count Date: Thu, 21 Oct 2010 19:39:43 +0200 Message-ID: References: <201010201526.47495.matija@suklje.name> <19FDFA32-6F56-40E9-BDB5-ED45249ECE3C@gmail.com> <201010201908.28861.matija@suklje.name> <4CBF466A.5090509@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: multipart/mixed; boundary="===============0084995098==" X-Trace: dough.gmane.org 1287682804 14801 80.91.229.12 (21 Oct 2010 17:40:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 21 Oct 2010 17:40:04 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Oct 21 19:40:01 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P8z7Q-0000XH-O4 for gctc-ntg-context-518@m.gmane.org; Thu, 21 Oct 2010 19:40:00 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 66E23CA781; Thu, 21 Oct 2010 19:40:00 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id yyfuE2SZrO0F; Thu, 21 Oct 2010 19:39:57 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 27EB7CA774; Thu, 21 Oct 2010 19:39:57 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0A701CA774 for ; Thu, 21 Oct 2010 19:39:56 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id UzCJkf0EekOS for ; Thu, 21 Oct 2010 19:39:54 +0200 (CEST) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 06BA7CA773 for ; Thu, 21 Oct 2010 19:39:54 +0200 (CEST) Original-Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com [74.125.82.45]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o9LHdrXa017025 for ; Thu, 21 Oct 2010 19:39:53 +0200 Original-Received: by wwa36 with SMTP id 36so4501587wwa.2 for ; Thu, 21 Oct 2010 10:39:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:mime-version :content-type:subject:date:in-reply-to:to:references:message-id :x-mailer; bh=Ut/t5QbCnMJl+meoPDiAqlQW3xxZ10OpnFZv5xhzYE4=; b=gqW9h5Hf4veOVOHjeeHjeWbMsmAW/4MjkaxA9I9sSfe8tmNpSP0ocuFh8HCbGM+VrK aC8iG1ouWIgldg9y7SKFh0/I3t3+/UXWjIjgYyMvootpGahNIoo76f8fIf+eyGzGO5o9 8DKXtB/uD/CIowDfnBPfxX2AkuJWGL8UKhDPM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:mime-version:content-type:subject:date:in-reply-to:to :references:message-id:x-mailer; b=KgqPpaFK2AgylPCFvGsEVTdSImq162LOa7P9PXZ2IiKp6YUXQl9pBjynBjVL6asP10 Zd0zZ86q1V/hQGQs2Qs74sC/4G/q0DZKsH3Ih9cgZNTg2QYj16k/Ovdlph3Z97vBsQkT gn+0l40EkJMd2OeTmtFHdEyGZke2ve3rGyNfs= Original-Received: by 10.227.157.148 with SMTP id b20mr987004wbx.14.1287682789560; Thu, 21 Oct 2010 10:39:49 -0700 (PDT) Original-Received: from mackavian.math.uvsq.fr (MacKavian.math.uvsq.fr [193.51.32.142]) by mx.google.com with ESMTPS id h29sm1552001wbc.21.2010.10.21.10.39.42 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 21 Oct 2010 10:39:42 -0700 (PDT) In-Reply-To: <4CBF466A.5090509@wxs.nl> X-Mailer: Apple Mail (2.1081) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.82.45; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0rDltDRHl - 5ff285c0db56 - 20101021 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:62817 Archived-At: --===============0084995098== Content-Type: multipart/alternative; boundary=Apple-Mail-50-137937969 --Apple-Mail-50-137937969 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On 20 oct. 2010, at 21:43, Hans Hagen wrote: > On 20-10-2010 7:08, Matija =8Auklje wrote: >> [=85] >=20 > 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=85=20 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. Best regards: OK >=20 > \starttext >=20 > % beware, no grouping (maybe some day, but maybe not) >=20 > \setupspellchecking[state=3Dstart,method=3D2] >=20 > \setupspellchecking[list=3Dtufte] \input tufte \blank > \setupspellchecking[list=3Dknuth] \input knuth \blank > \setupspellchecking[list=3Dward] \input ward \blank >=20 > \typefile{words-003.words} >=20 > \stoptext >=20 > I uploaded a beta zip that has it so it will end up in the minimals. >=20 > Hans >=20 --Apple-Mail-50-137937969 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252
On = 20-10-2010 7:08, Matija =8Auklje wrote:
[=85]

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=85 
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.

Best regards: = OK

\starttext

% beware, = no grouping (maybe some day, but maybe = not)

\setupspellchecking[state=3Dstart,method=3D2]

\setupspe= llchecking[list=3Dtufte] \input tufte = \blank
\setupspellchecking[list=3Dknuth] \input knuth = \blank
\setupspellchecking[list=3Dward]  \input ward =  \blank

\typefile{words-003.words}

\stoptext

I = uploaded a beta zip that has it so it will end up in the = minimals.

Hans



= --Apple-Mail-50-137937969-- --===============0084995098== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============0084995098==--