brew tap nwtgck/math2img
brew install math2img
math2img -e png sample1.math.tex
Then you can get sample1.math.tex.png
sample1.math.tex\[
e^{i\pi}+1=0
\]
=>
git clone <this repo url>
cd <this repo>
shards build
./bin/math2img -e png samples/sample1.math.tex
Then you can get sample1.math.tex.png
(./bin/math2img is a generated binary file.)
cd <this repo>
docker build -t nwtgck/math2img ./docker
Content type
Image
Digest
Size
933.2 MB
Last updated
almost 9 years ago
docker pull nwtgck/math2img