There are various embedded TeX-like formulas found on Wikipedia and other places such as:
\begin{array}{rcl} Y' &=& Y' + 16\\ U &=& U + 128\\ V &=& V + 128 \end{array}
They are not full .tex
files, so pdflatex
can't process them directly. Despite that the server converts them to PNG images and presents them in the browser.
How can I convert code like that into images from the command line?
Best Answer
You can use (and I have used) mathTeX:
It can either be used as a CGI script on the server and linked directly from the <img> tag, or run on the command-line to generate standalone image files. From the homepage: