pub const UNENDED: &str = "lx@unended";Expand description
The whatsit property of a construct the document ended inside of: \end{document} came while
its arguments or body were still being digested and abandoned their groups (tex.web §1335), so
it never ended — whatever came after the defect that left it open (a section, a bibliography)
is inside it. Constructor::digest_to_whatsit sets it (ends_inside_groups moved during the
digestion); the document lets every element such a whatsit opens auto-close
(Document::open_element), Perl’s per-node _autoclose (Document.pm canAutoClose), so that
structure closes it instead of being held inside as malformed:* (1611.05714, 1101.1959,
physics0505113, math9805003). OXIDIZED_DESIGN #542.