[NTG-context] wikimedia2context: any existing solutions?

Khaled Hosny khaledhosny at eglug.org
Wed Mar 30 20:44:26 CEST 2011

On Wed, Mar 30, 2011 at 07:32:35PM +0200, Mojca Miklavec wrote:
> 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.

There is also http://sourceforge.net/projects/wiki2tex/ but it generates
LaTeX, tweaking it to generate ConTeXt should not be hard (as long as
you can build it; written in C++ and requires cmake, Qt and what not,
luckily it built here just fine).


 Khaled Hosny

More information about the ntg-context mailing list