The project's files, for \includegraphics. An image is an input like the
.tex itself (D38): the engine opens nothing, so the bytes have to be
handed in. Empty when a caller lays out without them, which every image
then reports as a missing file rather than guessing a size.
Floats discovered while building, keyed by the marker that rides in the
vertical list where the author wrote them — the same mechanism as
footnotes above, which is why deferring a float needs no new node kind.
layout/page.ts is what reads this.
Footnotes discovered while building, keyed by the marker that carries them.
The math renderer, or null when the caller supplied none. Injected for
the same reason fonts is — createMathRenderer() is async and the engine
is synchronous, and the engine acquires nothing for itself (D38). A
math-free document never touches it; a document with math and no renderer
gets a diagnostic rather than a silently empty page (layout/math.ts).
Faces already reported as missing, so one absent face is one diagnostic.
font id + codepoint pairs already reported missing, so one is one diagnostic.
marker name → page, from the previous layout pass. Empty on the first
pass, which is why a first-pass table of contents reads ??.
Image paths already reported as unusable, so one bad file is one diagnostic.
Math failures already reported once for the whole document — today just the
absent renderer, which would otherwise repeat itself per formula. Same
mechanism as missingFaces and reportedImages.
One shaper for the whole document — including across layout passes. Line breaking re-measures constantly and the font layer has no cache of its own.
The entrypoint, for diagnostics with no better position.