R/MRatCalcpowered by RiX

RiX walkthrough 17 b

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.

Runnable RiX

The report is still a core Fragment. Load any document renderer to export the same numbered links and captions.

Runnable RiX

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.

Runnable RiX

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.

Runnable RiX

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.

Runnable RiX

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.