Convert LaTeX Math to image
brew install nwtgck/homebrew-math2img/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