rudigiesler / mathml-to-image-service

HTTP Rest API for converting mathml to various image formats
MIT License
6 stars 9 forks source link

Build Status Documentation Status

mathml-to-image-service

Requirements

Installing prerequisites

sudo apt-get install librsvg2-bin phantomjs pngcrush imagemagick

Installing and running svgtex

git clone https://github.com/agrbin/svgtex.git
cd svgtex
phantomjs main.js

Usage:

pip install -r requirements.txt
python mathml_to_image_service/service.py

Running tests:

python -m unittest discover mathml_to_image_service