From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/64343 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: colors for pretty-printing Date: Wed, 8 Dec 2010 00:22:30 -0500 Message-ID: References: <20101203081711.GA5447@micropit.couberia.bzh> <27ce4c9b-5e21-4df4-91b5-af4bbbb550c6@email.android.com> <20101203213121.GA6937@micropit.couberia.bzh> <4CF9634B.1030605@wxs.nl> <4CF9A816.1080800@nibua-r.org> <4CFAF3A5.5030405@nibua-r.org> <4CFCA4BA.1010609@wxs.nl> <20101206140427.GB29676@micropit.couberia.bzh> <4CFD3FB6.6000207@nibua-r.org> <20101207112502.GA10103@micropit.couberia.bzh> <4CFE3B3C.6020901@wxs.nl> <4CFE8B73.9070501@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1291785766 28862 80.91.229.12 (8 Dec 2010 05:22:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 8 Dec 2010 05:22:46 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Dec 08 06:22:42 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 1PQCUE-0006CU-9s for gctc-ntg-context-518@m.gmane.org; Wed, 08 Dec 2010 06:22:42 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A02F7CA8F1; Wed, 8 Dec 2010 06:22:39 +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 XKNVWpD-COBr; Wed, 8 Dec 2010 06:22:36 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F2527CA8F3; Wed, 8 Dec 2010 06:22:35 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 90A6ECA8F3 for ; Wed, 8 Dec 2010 06:22:34 +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 xLT2QcpAqkPK for ; Wed, 8 Dec 2010 06:22:31 +0100 (CET) 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 D3558CA8F1 for ; Wed, 8 Dec 2010 06:22:31 +0100 (CET) Original-Received: from mail-qw0-f41.google.com (mail-qw0-f41.google.com [209.85.216.41]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oB85MUng022061 for ; Wed, 8 Dec 2010 06:22:31 +0100 Original-Received: by qwa26 with SMTP id 26so829467qwa.14 for ; Tue, 07 Dec 2010 21:22:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; bh=Sh6InuJPWm04G9ruyiYOfRqPJCiln9bkFXUqm9VoBOY=; b=KFCrhz3byfM+Nv9cL9QWOtBweUKITUWUnr9cyM7OslGveRkpZR1Y9JaR/plyrFMWL9 cuA5e95LpbwrUfpirAPawFCkHjcWfyN05aBGtpQrEJBOrk3ZJKTLM3XmGHp+r0/hvhdd yzUJ3rgKlBW2aW7vHii0rZziQd0C+mv4Daa4E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=uQL3pSB/IDVZEFpWJmZTByBmI/IzOEq/rzuvpeYlMcJyl62/N2sORrhnQc9OAHmDbl +IgNQtQLNCPbCgQULjrJg7d55hYsTzEOg6fh/BsW1ys7BTbFwzjwdvAZ0M4dLFWJa6XX CmnirrJKIH8iPhc8qgfx9KkbbnEM5/AkDilRM= Original-Received: by 10.229.98.71 with SMTP id p7mr6256930qcn.289.1291785750478; Tue, 07 Dec 2010 21:22:30 -0800 (PST) Original-Received: by 10.229.128.151 with HTTP; Tue, 7 Dec 2010 21:22:30 -0800 (PST) In-Reply-To: <4CFE8B73.9070501@wxs.nl> X-Google-Sender-Auth: HO6LEHpNGpMFfXyh4Z973ENavLE X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.216.41; 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: 0rDEtmvH7 - ee51ab321ed2 - 20101208 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:64343 Archived-At: On Tue, Dec 7, 2010 at 2:30 PM, Hans Hagen wrote: > On 7-12-2010 6:57, Aditya Mahajan wrote: > >> Thanks for the explanation. But, I am not too keen to write parsers on >> my own when I can easily borrow existing ones. > > sure, but a simple one can be: > > function myparser(str) > =A0.. call your prog do do something with str and return the result > end OK. This sounds much easier than writing my own wrappers. I will try to port the t-vim module to use the new code. Aditya ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________