pub fn keep_latest_refstep_in_scope()Expand description
The latest counter step stays the one in scope although the group it was made in has closed: a wrapper group of
LaTeXML’s own (caption’s \captionof set in a float, caption_sty.rs \@captionof@) around a step LaTeX makes in
the current group (caption.sty:390-391 \setcaptiontype* then \caption), so a \label after it names the step’s
object (2402.05535 \captionof{figure}{…}\fi\label{…}).