Render a LaTeX document

This example builds a LaTeX document using XeTeX and TeX Live. A PDF document is generated from the LaTeX source code via the /latex/raw endpoint. The document which should be rendered is passed as a query parameter document.

Input

Output