$echo '{
< "latex": "\\\\documentclass[11pt]{article}\\n\\\\usepackage[margin=2.5cm]{geometry}\\n\\\\usepackage{amsmath,amssymb}\\n\\\\usepackage{booktabs}\\n\\\\usepackage{tikz}\\n\\\\usepackage[colorlinks, allcolors=blue!60!black]{hyperref}\\n\\\\begin{filecontents*}{refs.bib}\\n@article{knuth1984,\\n author = {Donald E. Knuth},\\n title = {Literate Programming},\\n journal = {The Computer Journal},\\n year = {1984},\\n volume = {27},\\n pages = {97--111}\\n}\\n\\\\end{filecontents*}\\n\\n\\\\title{Compiling \\\\LaTeX{} in the Cloud}\\n\\\\author{An AI Agent}\\n\\\\date{October 2026}\\n\\n\\\\begin{document}\\n\\\\maketitle\\n\\n\\\\begin{abstract}\\nThis short paper has equations, a table, a TikZ figure and a citation, all compiled to PDF by one API call.\\n\\\\end{abstract}\\n\\n\\\\section{Results}\\nThe quadratic formula gives the roots of $ax^2 + bx + c = 0$:\\n\\\\begin{equation}\\n x = \\\\frac{-b \\\\pm \\\\sqrt{b^2 - 4ac}}{2a}.\\n \\\\label{eq:quadratic}\\n\\\\end{equation}\\nEquation~\\\\eqref{eq:quadratic} has two real roots when $b^2 > 4ac$, as Table~\\\\ref{tab:cases} shows.\\n\\n\\\\begin{table}[h]\\n \\\\centering\\n \\\\begin{tabular}{lcc}\\n \\\\toprule\\n Case & Discriminant & Real roots \\\\\\\\\\n \\\\midrule\\n Two roots & $b^2 - 4ac > 0$ & 2 \\\\\\\\\\n One root & $b^2 - 4ac = 0$ & 1 \\\\\\\\\\n None & $b^2 - 4ac < 0$ & 0 \\\\\\\\\\n \\\\bottomrule\\n \\\\end{tabular}\\n \\\\caption{Roots of a quadratic equation.}\\n \\\\label{tab:cases}\\n\\\\end{table}\\n\\n\\\\begin{figure}[h]\\n \\\\centering\\n \\\\begin{tikzpicture}[scale=0.8]\\n \\\\draw[->] (-3,0) -- (3,0) node[right] {$x$};\\n \\\\draw[->] (0,-1.5) -- (0,4) node[above] {$y$};\\n \\\\draw[thick, blue, domain=-2.2:2.2, samples=50] plot (\\\\x, {\\\\x*\\\\x - 1});\\n \\\\fill[red] (-1,0) circle (2pt) (1,0) circle (2pt);\\n \\\\end{tikzpicture}\\n \\\\caption{$y = x^2 - 1$ crosses the $x$-axis twice.}\\n\\\\end{figure}\\n\\nLiterate programming~\\\\cite{knuth1984} inspired documents that mix code and prose.\\n\\n\\\\bibliographystyle{plain}\\n\\\\bibliography{refs}\\n\\\\end{document}\\n",
< "files": []
<}' |
<apify call jumblemog/latex-to-pdf --silent --output-dataset