Skip to main content

mark_unloaded

Function mark_unloaded 

Source
pub fn mark_unloaded(file: &str)
Expand description

Mark file (amsthm.sty) as not loaded, globally: its <file>_loaded, the .ltxml_loaded twin, the raw load’s _raw_loaded and _load_attempted are cleared and the kernel’s \ver@<file> and \opt@<file> are undefined, so \@ifpackageloaded is false, no option clash is checked, and a later \usepackage/\RequirePackage loads it again — the binding and the raw file it reads. The definitions it made stay in force. Used when a load provided only part of a file (end_provide_only) and for a binding’s borrowed package and the files it loaded (binding::content::require_package_borrowed).