Initial support for LaTeX and MathML output.