From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/77007 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: ConTeXt and SciTE Date: Wed, 20 Jun 2012 20:02:39 +0200 Message-ID: <4FE2103F.1090901@wxs.nl> References: <4FE005F1.1010602@gmail.com> <4FE03F40.10909@wxs.nl> <4FE0AD4E.6060205@gmail.com> <4FE0B6A1.3010102@wxs.nl> <4FE0DE42.3090506@gmail.com> <4FE0E477.5030703@wxs.nl> <4FE0EEB7.3020009@gmail.com> <4FE0F5C3.9050504@wxs.nl> <4FE1FC61.2050408@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1340215376 8330 80.91.229.3 (20 Jun 2012 18:02:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 20 Jun 2012 18:02:56 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jun 20 20:02:56 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ShPEx-0006nr-He for gctc-ntg-context-518@m.gmane.org; Wed, 20 Jun 2012 20:02:51 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 68C1210207; Wed, 20 Jun 2012 20:02:51 +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 fUid0M30b4mP; Wed, 20 Jun 2012 20:02:49 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CE3AC101FE; Wed, 20 Jun 2012 20:02:49 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 83267101FE for ; Wed, 20 Jun 2012 20:02:48 +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 hbaGP7jfQGJ7 for ; Wed, 20 Jun 2012 20:02:47 +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 8A126101FC for ; Wed, 20 Jun 2012 20:02:47 +0200 (CEST) Original-Received: from smtp.ziggozakelijk.nl (D57D1DA2.static.ziggozakelijk.nl [213.125.29.162]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q5KI2kr5002089 for ; Wed, 20 Jun 2012 20:02:46 +0200 X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.100.1.100; Original-Received: from [10.100.1.100] (unverified [10.100.1.100]) by pragma-net.nl (SurgeMail 5.3h2) with ESMTP (TLS) id 7471-1713362 for multiple; Wed, 20 Jun 2012 20:02:43 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 In-Reply-To: <4FE1FC61.2050408@gmail.com> X-Authenticated-User: hagen@controller-9 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.125.29.162; country=NL; region=03; city=Hattem; latitude=52.4724; longitude=6.0696; http://maps.google.com/maps?q=52.4724,6.0696&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0QHoG2KfV - 648ce4a80df3 - 20120620 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.13 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:77007 Archived-At: On 20-6-2012 18:37, Bill Meahan wrote: > 1. Running the command as shown generates a spell-xx.lua file but > complains about a spell-xx.lucluac file not being present. luac compiles the lau file into bytecode (luac comes with lua and needs to match the lua version in scite) > 2. The lexer does not load the spell-xx.lua file but will find the > spell-xx.txt file and try to use that. > > 3. English words are only found if the 'xx' is 'uk' while 'en' or 'us' > or 'ca' (Canadian) are not found no matter if % language={en | us | ca} > (one choice only, I'm just using shorthand here). uk is one particular > form of English with particular spelling rules (e.g. 'our' instead of > 'or' in words like 'honour' &al. There are also some terms proper in UK > English that are not considered proper in US English and vice versa.) If > all variants are not allowed, the generic 'en' ought to be used instead > of 'uk' as it could be confusing to non-UK users. Ozzies and Kiwis may > not mind but Yanks and Canucks do. :-) hm, do you have spell-ca and spell-en etc files? there is no hard coded uk check > 4. Every 3-letter word is indicated as misspelled. This may be a > side-effect of using the SCOWL word lists as they only deal with words > > 3-letters (except for some acronyms). Hence common words like 'was' or > 'who' or 'and' are marked as misspelled. indeed, internally there is a limit of length 2 i can probably do a check for length i.e. if no 3 character words then also no checking > 5. Only the first screen-full of text was color-coded. The rest of my > document did not even have keyword highlighting. Turning off the > spell-checking by removing the 'language=uk' line restored keyword > highlighting throughout the whole file. weird > Yes, that is a big wordlist but decades of doing crosswords has left me > with a large vocabulary. ;-) Hans ----------------------------------------------------------------- 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 ___________________________________________________________________________________