ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Bill Meahan <wmeahan94@gmail.com>
To: ConTeXt Mailing List <ntg-context@ntg.nl>
Subject: Re: ConTeXt and SciTE
Date: Wed, 20 Jun 2012 12:37:53 -0400	[thread overview]
Message-ID: <4FE1FC61.2050408@gmail.com> (raw)
In-Reply-To: <4FE0F5C3.9050504@wxs.nl>


[-- Attachment #1.1: Type: text/plain, Size: 2403 bytes --]

On 06/19/2012 17:57, Hans Hagen wrote:
> On 19-6-2012 23:27, Bill Meahan wrote:
>> On 06/19/2012 16:43, Hans Hagen wrote:
>>
>>>
>>> and you can give spell checking a try (you can use mtxrun --script
>>> --scite to convert a list with words into one suitable for the context
>>> lexers)
>>>
>>> Hans

> fyi: the context lexers do realtime checking in combination with regular
> lexing
>
> Hans
>

Tried this, ran into problems.

1. Running the command as shown generates a spell-xx.lua file but 
complains about a spell-xx.lucluac file not being present.

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. :-)

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.

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.

SciTE 3.1.0 on FreeBSD-9.0-i386

The wordlist(s) tried were from SCOWL 7.1 at http://wordlist.sourceforge.net
formed by cat en*80 | sort | uniq >spell-uk.txt

Yes, that is a big wordlist but decades of doing crosswords has left me 
with a large vocabulary. ;-)


-- 
Bill Meahan, Westland, Michigan USA

“Writing is a combination of intangible
   creative fantasy and appallingly
   hard work.”

           —Anthony Powell


This message is digitally signed with an X.509 certificate
to prove it is from me and has not been altered since it was sent.


[-- Attachment #1.2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4920 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

  reply	other threads:[~2012-06-20 16:37 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-19  4:54 Bill Meahan
2012-06-19  8:58 ` Hans Hagen
2012-06-19 16:48   ` Bill Meahan
2012-06-19 17:28     ` Hans Hagen
2012-06-19 20:17       ` Bill Meahan
2012-06-19 20:43         ` Hans Hagen
2012-06-19 21:27           ` Bill Meahan
2012-06-19 21:57             ` Hans Hagen
2012-06-20 16:37               ` Bill Meahan [this message]
2012-06-20 18:02                 ` Hans Hagen
2012-06-20 18:44                   ` Hans Hagen
2012-06-20 18:59                     ` Bill Meahan
2012-06-20 19:05                   ` Bill Meahan
2012-06-20 19:32                     ` Hans Hagen
2012-06-20  3:04   ` Bill Meahan
2012-06-20 14:24     ` Hans Hagen
2012-06-20 14:46       ` luigi scarso
2012-06-20 15:24       ` Aditya Mahajan
2012-06-20 16:11         ` Bill Meahan
2016-04-19  7:10 uppercase, small caps, numerals and German capital sharp s Thomas Fehige
2016-04-19 12:05 ` Wolfgang Schuster
2016-04-20 14:03   ` Thomas Fehige
2016-04-20 14:25     ` Wolfgang Schuster
2016-04-22 11:35       ` glyph substitution Thomas Fehige
2016-04-22 20:28         ` Hans Hagen
2016-04-25 12:48           ` Thomas Fehige
2016-04-25 18:12             ` Thomas Fehige
2016-04-25 20:44               ` Wolfgang Schuster
2016-04-27 14:27                 ` Thomas Fehige
2016-04-27 15:10                   ` Hans Hagen
2016-04-29  8:38                     ` Test Suite Fonts "extensions-001" Thomas Fehige
2016-04-29  9:05                       ` Wolfgang Schuster
2016-05-03  9:22                         ` Setting up TeXworks Thomas Fehige
2016-05-06  8:04                           ` Mojca Miklavec
2016-05-07 10:49                             ` Thomas Fehige
2016-05-09 11:02                               ` Thomas Fehige
2016-05-15 19:29                                 ` Thomas Fehige
2016-05-16 14:34                                   ` ConTeXt and Scite Thomas Fehige

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=4FE1FC61.2050408@gmail.com \
    --to=wmeahan94@gmail.com \
    --cc=ntg-context@ntg.nl \
    /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).