Assemble a numbered report
Combine prose, an exact table, and a plot with portable cross-references.
Resolve references over a template and output nodes
The core @"""…""" language creates portable prose. .document.Ref can appear inside an interpolation even when the labeled figure or table comes later.
The report is still a core Fragment. Load any document renderer to export the same numbered links and captions.
Reuse a course-report template
The template stores presentation defaults while the report supplies its title and children. Bibliography and asset values remain portable data; declaring an asset does not read it.
Isolate target-specific source
Raw target text is explicit and has a portable fallback. Generic HTML and text views see only the fallback; a matching renderer may opt into the raw content under its own policy.
Save an inert report
The persisted tree keeps exact numbers, labels and asset declarations without capturing an execution scope. Loading returns the value and visible diagnostics.
For live controls or editable Sheet views, save .document.Snapshot(value). The explicit snapshot retains the current display but removes callbacks and reactive bindings. Opening the JSON never runs source or fetches assets.