These are tools to manage problem packages using the Kattis problem package format.
To run the tools, you need Python with the YAML and PlasTeX libraries, and a LaTeX installation. In Ubuntu, the precise dependencies are as follows:
sudo apt-get install python python-yaml python-plastex \
texlive-latex-recommended texlive-fonts-recommended \
texlive-latex-extra texlive-lang-cyrillic imagemagick tidy
The problem tools have not been tested on other platforms. If you do test on another platform, we'd be happy to hear what worked and what did not work, so that we can write proper instructions (and try to figure out how to make the non-working stuff work).
Build all the support programs by running
make
The checktestdata program requires a relatively recent gcc version (4.8 suffices), but is only needed for running checktestdata input validation scripts. The rest of problemtools will run fine without it, but in this case you need to build the other programs separately, e.g. by running
(cd default_validator && make)
(cd interactive && make)
The problem tools provide the following three programs:
verifyproblem.py
: run a complete check on a problemproblem2pdf.py
: convert a problem statement to pdfproblem2html.py
: convert a problem statement to html
Running any of them without any command-line options gives documentation on what parameters they accept.