Document generation fails loudly, never silently. Every mistake is
a typed error. Planning problems (structure, query references, bindings)
surface when the document is compiled, as document-plan-* diagnostics in
the editor and as source-located errors from the CLI. Execution
problems (a query that cannot run) stop the render with the query error's
message. A single document that cannot be rendered exits 2, and nothing is
written. In a -render-documents set each document stands on its own: the
ones that render are written, a page stating the error stands in for each
that does not, every failure is listed on stderr with the document's qualified
name, and the run exits 3.
Each of these is a current fact about the implementation, not a design
position; they are tracked in the project's compliance record.
The vocabulary is non-normative.DocumentQueries is an OpenSysML
extension; other SysML v2 tools will parse models that use it but will not
render documents from them.
Query-generated runs cannot cross-reference. Column runs restyle
query-produced text and can link to external URLs, but Ref-style
cross-references to other content blocks apply to statically-authored runs
only.
Cross-document links assume one output directory. A Ref may target
a content block or the root of another document (see the authoring
chapter's cross-document pattern), and -render-documents writes the
linked set together. Rendering one document alone still succeeds, but its
cross-document links point at the file name the set gives the target and
dangle until that document is rendered into the same directory.
Captions are emphasis in Markdown, elements in HTML and PDF. The
Markdown dialect writes a caption as an emphasized paragraph ahead of its
table, diagram or formula, with no marker distinguishing it from an
emphasized paragraph of prose. HTML and the PDF engines reading HTML write
a real <caption> or <figcaption>; the pandoc engine styles a caption
small by matching the emphasized paragraph ahead of each captioned block
against the document's captions in order.
HTML and PDF are CLI-only. The REPL, gRPC and LSP surfaces render
Markdown only.
PDF reproducibility is per-toolchain. Byte-identical output holds for
one pinned converter toolchain; different converter versions or fonts
produce different bytes. Prince is recognized but not provisioned by the
toolchain download script (it is commercial).
Only HTML presentation is configurable.-html-css and its companions
restyle an HTML document, but there is no Mermaid theme option and the PDF
path's stylesheet is fixed, so for PDF a diagram's caption and direction plus
the deliverable flags are the whole presentation surface.
-json does not combine with -render-document — the document IR is
not reported as JSON.
Editor rendering is on demand. The Render Document command re-renders
when invoked; there is no live preview that updates as you type (the
renderChanged notification tells a client when to re-request).