Convert LaTeX Math to image
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
demos
docker
samples
src
.gitignore
.travis.yml
README.md
shard.yml

README.md

math2img - Convert LaTeX Math to image Build Status

Requirements

Installation

brew install nwtgck/homebrew-math2img/math2img

Usage

math2img -e png sample1.math.tex

Then you can get sample1.math.tex.png

sample1.math.tex

\[
    e^{i\pi}+1=0
\]

=>

Build Requirements

Build & Run

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.)

Build a Docker image

cd <this repo>
docker build -t nwtgck/math2img ./docker

Gallery