pub fn piece_table(kind: &str) -> TableHandle<Piece>Expand description
The table of the list of the xnote kind kind, flm.xnotes.list.<kind>
(piece_name): the table that the kind’s builder (ListBuilder)
writes, and from which the backends place the list after the content.
The rest of the pipeline reads the list from this table only, so the
stage that writes the table decides the list. To build one xnote kind’s
list differently, register a document-scope stage of your own that writes
this table (from the table XNOTES, the document’s trees, or any other
table it declares that it reads), and prefer it in a plan request
(Overrides::prefer) or in a
workflow of your own
(WorkflowDef::prefer).
Without a preference, the plan refuses to choose between the two stages
and reports PlanError::Contested,
which lists both. The lists of the other xnote kinds are not affected.