From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/76982 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: ConTeXt and SciTE Date: Tue, 19 Jun 2012 10:58:40 +0200 Message-ID: <4FE03F40.10909@wxs.nl> References: <4FE005F1.1010602@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 1340096331 27848 80.91.229.3 (19 Jun 2012 08:58:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 19 Jun 2012 08:58:51 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jun 19 10:58:50 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 1SguGw-0006zq-Cm for gctc-ntg-context-518@m.gmane.org; Tue, 19 Jun 2012 10:58:50 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4D6AA10204; Tue, 19 Jun 2012 10:58:50 +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 cND8lVwXqyty; Tue, 19 Jun 2012 10:58:49 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D8FEB101FA; Tue, 19 Jun 2012 10:58:48 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1C6B6101FA for ; Tue, 19 Jun 2012 10:58:47 +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 QQOWPmYKP9o5 for ; Tue, 19 Jun 2012 10:58:46 +0200 (CEST) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 463B4101EE for ; Tue, 19 Jun 2012 10:58:46 +0200 (CEST) Original-Received: from smtp.ziggozakelijk.nl (D57D1DA2.static.ziggozakelijk.nl [213.125.29.162]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q5J8wjA5026583 for ; Tue, 19 Jun 2012 10:58:45 +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 7179-1713362 for multiple; Tue, 19 Jun 2012 10:58:42 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 In-Reply-To: <4FE005F1.1010602@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: 03Ho8WJQ2 - 9646669e6f45 - 20120619 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 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:76982 Archived-At: On 19-6-2012 06:54, Bill Meahan wrote: > I'm trying to get the SciTE lexers that come with the ConTeXt > distribution working but I'm not having much luck. SciTE certainly > processes the ConTeXt start-up script but never does any highlighting. > > I always get the warning that lpeg is not loaded but I cannot find any > separate lpeg.properties file or lpeg.lua file so I don't know how to > get it imported and active to run the lexers. Any suggestions? > > Interestingly, the lexers work just fine in Textadept but I haven't > quite figured out how to get them to load automatically. I have to > manually select the lexer but it works fine once I do. > > I'm inclined to go the Textadept route and build a nice snippets file > and Adeptsense support but I'd like to see things running in SciTE, too. You have to change some configuration files but as that situation seems to change every now and then I wait with providing extra files for textadept till it's more stable. (Textadept has no realtime log pane so I cannot use it here without sacrificing too much convenience.) > Right now I'm using Emacs to do my editing but AUCTeX does a poor job of > supporting ConTeXt and when I asked about future plans on the AUCTeX > mailing list, I got a snarky, sarcastic reply that "code doesn't change > itself." Typical FSF attitude, I see. If I'm going to have to write my > own support, Lua is much closer to the languages I've used before than > elisp so it should be considerably easier. > > Of course, I'll pass on anything I come up with to the ConTeXt community. concerning scite ... on windows it boils down to - installing scite - copying the scintillua lexer dir to the wscite path - copying the context/data/scite directory to teh wscite dir on linux it's a bit more complex as you need to figure out where scite keeps its properties files and that's sort of hard coded in the binary (but it does work on linux) on osx it's not working as there is no lpeg support provided there (unfortunately) 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 ___________________________________________________________________________________