This project aims to implement a pygments plugin to highlight the algorithm design language Jana. It is a forked version of the original Java lexer from the pygments project.
First, clone the repository using:
git clone git@github.com:maximaximal/pygments-jana.git
cd pygments-jana
After that, choose an installation method:
Using this method, the software can be used directly.
sudo python setup.py develop
This mode enables code changes directly in the repository, which propagate
to the lexer called by pygmentize. It is therefore more suited for
development.
sudo python setup.py develop
This highlighter can easily be used in LaTeX with the
great minted-Package
(Documentation,
Tutorial). This is also
the main use-case for this small project, which emerged from the wish to have nice syntax
highlighting in student exercises.
After installation, the highlighter should directly be usable in minted. It is configured
to work for the keywords Jana, jana, and on *.jana files.
