Source

context-acceptor /

Filename Size Date modified Message
formatters
helpers
parsers
303 B
1.3 KB
934 B
4.7 KB
3.0 KB

Acceptor

Convert wiki markup (for now only wikitext) to ConTeXt.

Example

Checkout from BitBucket and use like any mtxrun script:

hg clone https://bitbucket.org/phg/context-acceptor
cd context-acceptor/
ln -s formatters/acceptor_f-mediawiki.lua \
      helpers/acceptor_auxiliary.lua \
      parsers/acceptor_p-mediawiki.lua \
      .
mtxrun --script acceptor --a=ConTeXt --of=ConTeXt.tex

Now run ConTeXt on the resulting file:

context ConTeXt.tex

and see what breaks! You can view a list of options by simply calling:

mtxrun --script acceptor

Caution

This parser is by no means complete nor documented. Use at your own risk.

Bugs

Tons, probably, not to mention incomplete. Report bugs to the maintainer, please!

License

See the file COPYING in the root dir.