From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/70157 Path: news.gmane.org!not-for-mail From: Khaled Hosny Newsgroups: gmane.comp.tex.context Subject: Re: markdown Date: Tue, 19 Jul 2011 19:08:48 +0200 Message-ID: <20110719170848.GB4758@khaled-laptop> References: <4E258F19.1050301@wxs.nl> 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: dough.gmane.org 1311095358 20795 80.91.229.12 (19 Jul 2011 17:09:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 19 Jul 2011 17:09:18 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jul 19 19:09:14 2011 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 1QjDnG-0006oW-Aq for gctc-ntg-context-518@m.gmane.org; Tue, 19 Jul 2011 19:09:14 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 22AF6CAE4D; Tue, 19 Jul 2011 19:09:13 +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 GBDnPmJ3o8n0; Tue, 19 Jul 2011 19:09:07 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A5352CAE47; Tue, 19 Jul 2011 19:09:07 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AA372CAE47 for ; Tue, 19 Jul 2011 19:09:05 +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 ZCk6M+lZ+sXF for ; Tue, 19 Jul 2011 19:08:54 +0200 (CEST) Original-Received: from filter1-nij.mf.surf.net (filter1-nij.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 869CACAE11 for ; Tue, 19 Jul 2011 19:08:54 +0200 (CEST) Original-Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com [74.125.82.45]) by filter1-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p6JH8rcS027822 for ; Tue, 19 Jul 2011 19:08:54 +0200 Original-Received: by wwj40 with SMTP id 40so3524410wwj.2 for ; Tue, 19 Jul 2011 10:08:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=o9nRiaHssTsb7sF1ZYkAX1YhFolzYhtXZBh78SPn/xY=; b=f8v9WX3+hfmCEZCSuYsgTuuTUQcRiswcNcTK7B8Ii0VhqrXDY7BXFtkPIHIiE9dDnx Q7BrTJRIa5DdWwMy+VCWylwTaHr5t9ofwXlM/kSOd722W30h4AP+ZmvSd0bBpX7UG4hI 5Lt+kEjJgqw213KtNRZWnUHNtM3eU7iL6zSAQ= Original-Received: by 10.216.55.196 with SMTP id k46mr862017wec.91.1311095333482; Tue, 19 Jul 2011 10:08:53 -0700 (PDT) Original-Received: from localhost ([41.176.161.50]) by mx.google.com with ESMTPS id f8sm2951618wed.10.2011.07.19.10.08.51 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 19 Jul 2011 10:08:52 -0700 (PDT) Content-Disposition: inline In-Reply-To: <4E258F19.1050301@wxs.nl> User-Agent: Mutt/1.5.20 (2009-06-14) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.82.45; 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: 07F9R8RQv - 4a23ced527bd - 20110719 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.152 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:70157 Archived-At: On Tue, Jul 19, 2011 at 04:05:13PM +0200, Hans Hagen wrote: > Hi Khaled, > > I took a look at the lunamark code, and ran it on some (copied) > sample. As it was much slower than I'd expected from lpeg I messed > around a little and could bring down the runtime on the sample from > 2 sec to 0.1 sec. Anyhow, there is room for improvement so I wonder > If I should take the code, wrap it up a bit, and make a module so > that we can directly process markdown in context. (Of course we then > need to keep an eye on how the original develops, if mkdown develops > at all.) That would be great! That was my intent when I started hacking lunamrk to include a ConTeXt writer, by due to lack of time I never managed to do the ConTeXt module part. Regards, Khaled -- Khaled Hosny Egyptian Arab ___________________________________________________________________________________ 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 ___________________________________________________________________________________