From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/39079 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: {{ double braces }} Date: Tue, 12 Feb 2008 16:15:16 +0100 Message-ID: <47B1B804.2020600@wxs.nl> References: <1DC0E56D-487C-41CB-941E-FC98B0597B36@st.estfiles.de> <20080123204948.GA10128@gaston.couberia.bzh> <20080123215013.GC11445@gaston.couberia.bzh> <111CFD7B-669B-4044-901A-0291DD898978@uni-bonn.de> <3C90B1C8-F6D0-4313-A21A-B54141DBDC61@uni-bonn.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1202829420 24539 80.91.229.12 (12 Feb 2008 15:17:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 Feb 2008 15:17:00 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Feb 12 16:17:23 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1JOwsc-0004A0-Mz for gctc-ntg-context-518@m.gmane.org; Tue, 12 Feb 2008 16:17:06 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 426B41FBDB; Tue, 12 Feb 2008 16:16:37 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 27878-01-3; Tue, 12 Feb 2008 16:15:58 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4EC6C1FBF6; Tue, 12 Feb 2008 16:15:57 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A5FDA1FBE8 for ; Tue, 12 Feb 2008 16:15:55 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 27877-01-4 for ; Tue, 12 Feb 2008 16:15:22 +0100 (CET) Original-Received: from mail.pragma-ade.net (dsl-083-247-100-017.solcon.nl [83.247.100.17]) by ronja.ntg.nl (Postfix) with ESMTP id 925D11FB1D for ; Tue, 12 Feb 2008 16:15:22 +0100 (CET) Original-Received: from [10.100.1.100] (unverified [10.100.1.100]) by controller-1 (SurgeMail 3.7b8) with ESMTP id 10004 for ; Tue, 12 Feb 2008 16:15:22 +0100 User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) In-Reply-To: <3C90B1C8-F6D0-4313-A21A-B54141DBDC61@uni-bonn.de> X-Server: High Performance Mail Server - http://surgemail.com r=-274017400 X-Authenticated-User: hagen@controller-1 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:39079 Archived-At: Thomas A. Schmitz wrote: > Hi Aditya, > > now I need to apologize for being so slow to reply: thanks a lot, this > looks really fascinating! I don't know how many things I've read on > the web to understand if regexps can handle nested delimiters or not > (I think the long and short of it was that on some mathematical > principle it just isn't possible); there is some pretty obscure perl > stuff that might be able to do it but is highly experimental. If gema > really can do this, it should be a godsend for processing TeX files. I > have it installed now on my OS X box (but couldn't build the gel > binary) and am looking forward to experimenting with it. lua's pattern matcher can hanle nested {} (syntax: %b{} and such) more clever things can be done with lpeg, bla {bla\{bla} and such if you're up to date you may try mtxrun --script check sometexfile.tex this is a (for the mooment simple) syntax checker i wrote a while ago which shows the principles Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________