Docker container to generate SVG and PNG files from LaTeX.
docker run -i dmoj/texbox < test.tex
LaTeX, dvisvgm and rsvg-convertoutput will be in stderr.
Format is binary, all numbers are unsigned and big-endian. It is composed of:
- 32-bit integer:
w, width of the image - 32-bit integer:
h, height of the image - 32-bit integer:
s, length of the SVG file sraw bytes of the SVG- 32-bit integer:
p, length of the PNG file praw bytes of the PNG