From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/81273 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: etexshow and generation of cont-en.xlm (cont-XX.xml)? Date: Wed, 20 Mar 2013 21:32:13 +0100 Message-ID: <514A1CCD.1050703@wxs.nl> References: <5147A05B.7000406@wxs.nl> 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: ger.gmane.org 1363811534 2204 80.91.229.3 (20 Mar 2013 20:32:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 20 Mar 2013 20:32:14 +0000 (UTC) Cc: mailing list for ConTeXt users To: Jonathan Barchi Original-X-From: ntg-context-bounces@ntg.nl Wed Mar 20 21:32:40 2013 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 1UIPge-0001zC-3Q for gctc-ntg-context-518@m.gmane.org; Wed, 20 Mar 2013 21:32:40 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A2964101EF; Wed, 20 Mar 2013 21:32:16 +0100 (CET) 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 buCObE+iC2DD; Wed, 20 Mar 2013 21:32:15 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id DF5F1101EA; Wed, 20 Mar 2013 21:32:14 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 418BB101EA for ; Wed, 20 Mar 2013 21:32:13 +0100 (CET) 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 3qw5ExhU1zZ3 for ; Wed, 20 Mar 2013 21:32:12 +0100 (CET) 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 24302101E3 for ; Wed, 20 Mar 2013 21:32:12 +0100 (CET) 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 r2KKWBr3029463 for ; Wed, 20 Mar 2013 21:32:11 +0100 X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.100.1.103; Original-Received: from [10.100.1.103] (unverified [10.100.1.103]) by pragma-net.nl (SurgeMail 6.1c) with ESMTP (TLS) id 12212-1713362 for multiple; Wed, 20 Mar 2013 21:32:10 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.2; rv:17.0) Gecko/20130307 Thunderbird/17.0.4 In-Reply-To: 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=11; city=Den Haag; latitude=52.0833; longitude=4.3000; http://maps.google.com/maps?q=52.0833,4.3000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03JdUwbaE - b71b318c6ee6 - 20130320 (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.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:81273 Archived-At: On 3/20/2013 5:22 PM, Jonathan Barchi wrote: > Is that scite code free software? I'd love to take a look at how you generate > the files for it, and/or how its lexer is implemented. it's all in context/data/scite (if only because I use it on a daily basis) > I'm still figuring this part out. Emacs is quite modular, so I'm not > sure what the > best approach is yet. AUCTEX implements syntax highlighting internally, in > a sub-package called font-latex (that does work reasonably well for ConTeXt > too), but there is also more sophisticated support for LaTeX that doesn't cross > over to context. best start from scratch .. too many differences .. the easy way is just to color symbols special red: {}$ green: \. \.... blue: []()#=<>" yellow: %^_&-+/`| that should be doable i guess next figure out how to read in list with known \commands 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 ___________________________________________________________________________________