pub fn label_follows_an_undone_step() -> boolExpand description
Whether a \label made now follows a counter step a group has since undone: LaTeX’s \label names
\@currentlabel (latex.ltx:14963-14967), which reverts when the group of the step that set it closes, so a label
after \end{equation} inside a theorem names the theorem, not the equation (math0107195, “Theorem 5.3”). Such a
label never names the object that closed step numbered, however near it is (Document::float_to_label_scoped).