Prepare a PDF report
Build the portable document consumed by the host PDF pipeline.
Inspect the browser contract
PDF reuses the LaTeX/TikZ lowering and delegates only compilation to its host. The browser can discover the target and preview its portable input, but calling .pdf.Render reports pdf-toolchain-unavailable because a web page does not spawn TeX.
Use .pdf.Render(report, {= title="Exact report" }) in a capable host, or .Out("report.pdf", report) with the CLI.
- Browser: contract discovery and portable input preview only.
- CLI: requires
pdflatex. - Option:
title; compilation always uses standalone LaTeX.
The CLI regression fixture combines prose, a table of exact rationals, and a vector Graphic on one letter-size page. When pdflatex and Poppler are available, the test rasterizes that page and checks its dimensions and ink coverage rather than comparing unstable compiler metadata bytes.