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.

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.