fn captured_number(node: &Node) -> StringExpand description
Read a node’s resolved number attribute, or an empty string if it
has none. Both section and figure numbering stash their counter
there before the label index is built; an empty result means the
numbering pass didn’t reach the node (a resolver/lowerer bug).