Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 635 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 635 Bytes

texbox Build Status

Docker container to generate SVG and PNG files from LaTeX.

Usage

docker run -i dmoj/texbox < test.tex

LaTeX, dvisvgm and rsvg-convertoutput will be in stderr.

stdout format

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
  • s raw bytes of the SVG
  • 32-bit integer: p, length of the PNG file
  • p raw bytes of the PNG