From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/67584 Path: news.gmane.org!not-for-mail From: "R. Ermers" Newsgroups: gmane.comp.tex.context Subject: Re: wikimedia2context: any existing solutions? Date: Sun, 3 Apr 2011 13:48:26 +0200 Message-ID: References: <20110330151629.GA18420@khaled-laptop> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1301831336 27478 80.91.229.12 (3 Apr 2011 11:48:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 3 Apr 2011 11:48:56 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Apr 03 13:48:52 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 1Q6LnX-00047Y-UC for gctc-ntg-context-518@m.gmane.org; Sun, 03 Apr 2011 13:48:52 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1D2F7CAB87; Sun, 3 Apr 2011 13:48:51 +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 tt1pN46Yc35b; Sun, 3 Apr 2011 13:48:45 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B3384CAB80; Sun, 3 Apr 2011 13:48:45 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A6201CAB80 for ; Sun, 3 Apr 2011 13:48:43 +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 uzDXC-qOUtq4 for ; Sun, 3 Apr 2011 13:48:29 +0200 (CEST) Original-Received: from filter4-nij.mf.surf.net (filter4-nij.mf.surf.net [195.169.124.155]) by balder.ntg.nl (Postfix) with ESMTP id 4D689CAB65 for ; Sun, 3 Apr 2011 13:48:29 +0200 (CEST) Original-Received: from cpsmtpb-ews09.kpnxchange.com (cpsmtpb-ews09.kpnxchange.com [213.75.39.14]) by filter4-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p33BmS15014026 for ; Sun, 3 Apr 2011 13:48:28 +0200 Original-Received: from cpbrm-ews07.kpnxchange.com ([10.94.84.138]) by cpsmtpb-ews09.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.4675); Sun, 3 Apr 2011 13:48:28 +0200 Original-Received: from CPSMTPM-CMT103.kpnxchange.com ([195.121.3.19]) by cpbrm-ews07.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.4675); Sun, 3 Apr 2011 13:48:28 +0200 Original-Received: from imac-van-robert.lan ([77.168.85.243]) by CPSMTPM-CMT103.kpnxchange.com with Microsoft SMTPSVC(7.0.6002.18264); Sun, 3 Apr 2011 13:48:27 +0200 In-Reply-To: X-Mailer: Apple Mail (2.1082) X-OriginalArrivalTime: 03 Apr 2011 11:48:27.0779 (UTC) FILETIME=[0BD21530:01CBF1F5] X-RcptDomain: ntg.nl X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.75.39.14; country=NL; latitude=52.5000; longitude=5.7500; http://maps.google.com/maps?q=52.5000,5.7500&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 04EqXMswi - d4a35289dc23 - 20110403 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.155 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:67584 Archived-At: Well, that seems like a great idea. But beware: as far as I know it is impossible with context to process cals tables in an html or xml document. It is possible though to process cals tables in a separate document and insert the resulting pdf. Regards, Robert Op 30 mrt 2011, om 19:32 heeft Mojca Miklavec het volgende geschreven: > On Wed, Mar 30, 2011 at 17:16, Khaled Hosny wrote: >> On Wed, Mar 30, 2011 at 04:47:07PM +0200, Mojca Miklavec wrote: >> >> If you are comfortable with writing PEG grammar (I'm not), writing a >> mediawiki parser for luanamark[1] might be a good choice, it has a >> ConTeXt writer already (and markdown parser). > > This seems like a very reasonable solution, however it will take too > long before I understand LPEG enough to write some useful code. > >> I pet pandoc have mediawiki support as well, so you may try it. > > I started installing it, but then realized that it only supports > output to mediawiki, no input. > > It seems like writing my own parser (a few regular expressions in > language that is not lua) will probably be the fastest solution after > all. > > Mojca > ___________________________________________________________________________________ > 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 > ___________________________________________________________________________________ ___________________________________________________________________________________ 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 ___________________________________________________________________________________